Query
import type { Query } from "https://googleapis.deno.dev/v1/datastore:v1.ts";
A query for entities.
§Properties
The properties to make distinct. The query results will contain the first
result for each distinct combination of values for the given properties (if
empty, all results are returned). Requires: * If order
is specified, the
set of distinct on properties must appear before the non-distinct on
properties in order
.
An ending point for the query results. Query cursors are returned in query result batches and can only be used to limit the same query.
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
The order to apply to the query results (if empty, order is unspecified).
The projection to return. Defaults to returning all properties.
A starting point for the query results. Query cursors are returned in query result batches and can only be used to continue the same query.