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

Class Firestore

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

Source from the content-addressed store, hash-verified

506}
507
508export declare class Firestore implements IFirestore {
509 constructor(app?: FirebaseApp);
510
511 useEmulator(host: string, port: number);
512
513 batch(): WriteBatch;
514
515 collection(collectionPath: string): CollectionReference;
516
517 clearPersistence(): Promise<void>;
518
519 collectionGroup(collectionId: string): Query;
520
521 disableNetwork(): Promise<void>;
522
523 doc(documentPath: string): DocumentReference;
524
525 enableNetwork(): Promise<void>;
526
527 runTransaction(updateFunction: (transaction: Transaction) => Promise<any>): Promise<any>;
528
529 settings: Settings;
530
531 terminate(): Promise<void>;
532
533 waitForPendingWrites(): Promise<void>;
534
535 readonly android: any;
536 readonly ios: any;
537 readonly native: any;
538
539 readonly app: FirebaseApp;
540}
541
542declare module '@nativescript/firebase-core' {
543 export interface Firebase extends FirebaseFirestore {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…