StructuredQuery class

A Firestore query.

Constructors

StructuredQuery()
StructuredQuery.fromJson(Map _json)

Properties

endAt Cursor
A end point for the query results.
read / write
from ↔ List<CollectionSelector>
The collections to query.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
limit ↔ int
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
read / write
offset ↔ int
The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified.
read / write
orderBy ↔ List<Order>
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in order_by, that is not already specified in order_by, is appended to the order in field name order by default. * If an order on __name__ is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * SELECT * FROM Foo ORDER BY A becomes SELECT * FROM Foo ORDER BY A, __name__ * SELECT * FROM Foo ORDER BY A DESC becomes SELECT * FROM Foo ORDER BY A DESC, __name__ DESC * `SELECT [...]
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
select Projection
The projection to return.
read / write
startAt Cursor
A starting point for the query results.
read / write
where Filter
The filter to apply.
read / write

Methods

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

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited