示例#1
0
 internal Query(FirestoreDb database, StructuredQuery query, string parentPath)
 {
     Database   = database;
     QueryProto = query;
     ParentPath = parentPath;
 }
示例#2
0
 internal WriteBatch(FirestoreDb firestoreDb)
 {
     _db = firestoreDb;
 }
示例#3
0
 internal static DocumentSnapshot ForMissingDocument(FirestoreDb db, string name, Timestamp readTime) =>
 new DocumentSnapshot(db, name, null, readTime);
示例#4
0
 private Query(FirestoreDb database, StructuredQuery query, CollectionReference collection)
 {
     Database   = database;
     QueryProto = query;
     Collection = collection;
 }
示例#5
0
 internal static DocumentSnapshot ForDocument(FirestoreDb db, Document document, Timestamp readTime) =>
 new DocumentSnapshot(db, document.Name, document, readTime);