Query documents of a collection.
type: "io.kestra.plugin.gcp.firestore.Query"
id: gcp_firestore_query
namespace: company.team
tasks:
- id: query
type: io.kestra.plugin.gcp.firestore.Query
collection: "persons"
filters:
- field: "lastname"
value: "Doe"
YES
The Firestore collection
YES
STORE
STORE
FETCH
FETCH_ONE
NONE
The way you want to store the data
FETCH_ONE output the first row, FETCH output all the rows, STORE store all rows in a file, NONE do nothing.
YES
The GCP service account to impersonate.
YES
Maximum numbers of returned results.
YES
Start offset for pagination of the query results.
YES
Field name for the order by clause.
YES
ASCENDING
ASCENDING
DESCENDING
Field name for the order by clause.
YES
The GCP project ID.
YES
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
YES
The GCP service account.
Map containing the first row of fetched data.
Only populated if using fetchType=FETCH_ONE
.
List containing the fetched data.
Only populated if using fetchType=FETCH
.
The number of fetched rows.
uri
Kestra's internal storage URI of the stored data.
Only populated if using fetchType=STORE
.
YES
Field name for the filter.
YES
Field value for the filter.
Field value for the filter. Only strings are supported at the moment.
YES
EQUAL_TO
EQUAL_TO
NOT_EQUAL_TO
LESS_THAN
LESS_THAN_OR_EQUAL_TO
GREATER_THAN
GREATER_THAN_OR_EQUAL_TO
The operator for the filter, by default EQUAL_TO that will call 'collection.whereEqualTo(name, value)'