datastore_count
Query and count entities in Google Cloud Datastore by specifying the entity kind and optional filters to match exact field values.
Instructions
Count entities in a kind, optionally with a filter
Input Schema
Name | Required | Description | Default |
---|---|---|---|
field | No | The field name to filter on (optional) | |
kind | Yes | The entity kind to count | |
value | No | The value to match exactly (required if field is provided) |
Input Schema (JSON Schema)
{
"properties": {
"field": {
"description": "The field name to filter on (optional)",
"type": "string"
},
"kind": {
"description": "The entity kind to count",
"type": "string"
},
"value": {
"description": "The value to match exactly (required if field is provided)",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
}