Query class

A query for entities.

Constructors

Query()
Query.fromJson(Map _json)

Properties

distinctOn ↔ List<PropertyReference>
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).
read / write
endCursor ↔ String
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.
read / write
endCursorAsBytes ↔ List<int>
read / write
filter Filter
The filter to apply.
read / write
kind ↔ List<KindExpression>
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
read / write
limit ↔ int
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
read / write
offset ↔ int
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
read / write
order ↔ List<PropertyOrder>
The order to apply to the query results (if empty, order is unspecified).
read / write
projection ↔ List<Projection>
The projection to return. Defaults to returning all properties.
read / write
startCursor ↔ String
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.
read / write
startCursorAsBytes ↔ List<int>
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited