A document store. Queries arrive planned: a backend runs exactly the
CloudQuery it gets (its filters, sorts, limit and startAfter).
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBatchWrites → int
-
The most writes one commit takes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
aggregate(
String collection, CloudQuery query, CloudAggregate operation, String field) → Future< num?> -
operationoverquery's documents (fieldfor sum and average), computed by the store. -
commit(
List< DocumentWrite> writes) → Future<void> -
Applies
writesat once. -
get(
String collection, String id) → Future< Map< String, Object?> ?> -
The document
idofcollection, or null when it doesn't exist. -
newId(
String collection) → String -
A new, unused document id for
collection. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String collection, CloudQuery query) → Future< List< CloudDocument> > -
The documents of
collectionthatqueryselects. -
toString(
) → String -
A string representation of this object.
inherited
-
watch(
String collection, String id) → Stream< Map< String, Object?> ?> - The document, now and on every change (null while it doesn't exist).
-
watchQuery(
String collection, CloudQuery query) → Stream< List< CloudDocument> > -
query's documents, now and on every change.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited