Methods
Abstract addDocumentIn
- addDocumentIn(collection: CollectionReference<DocumentData>, document: {}, documentName: string): DocumentReference<DocumentData>
-
Parameters
-
collection: CollectionReference<DocumentData>
-
document: {}
-
documentName: string
Returns DocumentReference<DocumentData>
Abstract getAllDocumentsFrom
- getAllDocumentsFrom(collection: CollectionReference<DocumentData>): Promise<DocumentData[]>
-
Parameters
-
collection: CollectionReference<DocumentData>
Returns Promise<DocumentData[]>
Abstract getCollection
- getCollection(path: string[]): CollectionReference<DocumentData>
-
Parameters
Returns CollectionReference<DocumentData>
Abstract getDocument
- getDocument(path: string[]): DocumentReference<DocumentData>
-
Parameters
Returns DocumentReference<DocumentData>