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