QueryRef<E, D extends Document<E>, DocRef extends DocumentRef<E, D>> class abstract

Implementers
Annotations

Constructors

QueryRef(Query<JsonMap> query)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
query Query<JsonMap>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(DocumentSnapshot<JsonMap> snapshot, DocRef docRef) → D
deleteAllDocuments({int batchSize = 500}) Future<List<DocumentReference<Object?>>>
Delete all documents
docRef(DocumentReference<JsonMap> ref) → DocRef
documentListResult([QueryBuilder? queryBuilder]) Stream<DocumentListResult<E, D, DocRef>>
documentMap([QueryBuilder? queryBuilder]) Stream<Map<DocRef, D>>
documents([QueryBuilder? queryBuilder]) Stream<List<D>>
encode(E data) → JsonMap
getDocuments([QueryBuilder? queryBuilder]) Future<List<D>>
getSnapshots([QueryBuilder? queryBuilder, GetOptions? options]) Future<QuerySnapshot<JsonMap>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pagingController({QueryBuilder? queryBuilder, int initialSize = 10, int defaultPagingSize = 10}) → CollectionPagingController<E, D, DocRef>
snapshots([QueryBuilder? queryBuilder]) Stream<QuerySnapshot<JsonMap>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override