Firestore Query
Query a Firestore database.
Properties
Name | Type | |
---|---|---|
engine | String=firestore:read | |
project | String | |
credentials | String | |
collection | String | |
name_field | String | |
query | Object | |
schema | Object |
engine
Must be firestore:read
.
- Required
- Yes
project
The name of the Google Cloud project.
- Required
- No
credentials
JSON blob of your service account.
- Required
- Yes
collection
The name of the Firestore collection.
- Required
- No
name_field
The name of the field containing a unique identifier of the document.
- Required
- No
query
- Required
- No
Properties
Name | Type | |
---|---|---|
filter | Array | |
limit | Integer |
query.filter
- Required
- No
query.filter.field_path
The field path to filter.
query.filter.op
The operation.
- Enum
-
=
>
<
>=
<=
query.filter.value
The value to compare using the operation.
query.limit
The number of records to fetch.
- Required
- No
schema
Define a schema for the data.
- Required
- Yes