discontinuedPackage firestore_api_flutter has been discontinued and replaced by fire_api_flutter.

FirebaseFirestoreDatabase class

Inheritance
  • Object
  • FirestoreDatabase
  • FirebaseFirestoreDatabase

Constructors

FirebaseFirestoreDatabase()

Properties

debugLogging ↔ bool
getter/setter pairinherited
debugPooling ↔ bool
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
injectionTimeout ↔ Duration
getter/setter pairinherited
pool → StreamPool
no setterinherited
rootPrefix → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamLoopbackInjection ↔ bool
getter/setter pairinherited
streamPooling ↔ bool
getter/setter pairinherited
throwOnGet ↔ bool
getter/setter pairinherited

Methods

collection(String path) → CollectionReference
inherited
countDocumentsInCollection(CollectionReference reference) → Future<int>
override
deleteDocument(DocumentReference path) → Future<void>
override
document(String path) → DocumentReference
inherited
effectivePath(String p) → String
inherited
getDocument(DocumentReference ref) → Future<DocumentSnapshot>
override
getDocumentCachedOnly(DocumentReference ref) → Future<DocumentSnapshot>
inherited
getDocumentPageInCollection({required CollectionReference reference, bool reversed = false, int pageSize = 50, DocumentPage? previousPage}) → Future<DocumentPage?>
inherited
getDocumentsInCollection(CollectionReference reference) → Future<List<DocumentSnapshot>>
override
getNearestDocumentsInCollection(VectorQueryReference reference) → Future<List<DocumentSnapshot>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDocument(DocumentReference ref, DocumentData data) → Future<void>
override
setDocumentAtomic(DocumentReference ref, DocumentData txn(DocumentData? data)) → Future<void>
override
streamDocument(DocumentReference ref) → Stream<DocumentSnapshot>
override
streamDocumentsInCollection(CollectionReference reference) → Stream<List<DocumentSnapshot>>
override
sumDocumentsInCollection(CollectionReference reference, String field) → Future<double>
inherited
toString() → String
A string representation of this object.
inherited
updateDocument(DocumentReference ref, DocumentData data) → Future<void>
override
updateDocumentAtomic(DocumentReference ref, DocumentData txn(DocumentData? data)) → Future<void>
inherited

Operators

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

Static Methods

create() → FirestoreDatabase