MCPcopy Create free account
hub / github.com/NativeScript/firebase / WriteBatch

Class WriteBatch

packages/firebase-firestore/index.d.ts:477–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477export declare class WriteBatch implements IWriteBatch {
478 commit(): Promise<void>;
479
480 delete(documentRef: DocumentReference): WriteBatch;
481
482 set(documentRef: DocumentReference, data: DocumentData, options?: SetOptions): WriteBatch;
483
484 update<T extends DocumentData = DocumentData>(documentRef: DocumentReference<T>, data: Partial<{ [K in keyof T]: T[K] | FieldValue }>): WriteBatch;
485 update<T extends DocumentData = DocumentData, K extends keyof T = string>(documentRef: DocumentReference<T>, field: K | FieldPath, value: FieldValue | T[K], moreFieldAndValues: any[]): WriteBatch;
486
487 readonly android: any;
488 readonly ios: any;
489 readonly native: any;
490}
491
492export declare class Settings implements ISettings {
493 cacheSizeBytes: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected