React Native - Functions
Non-hook fetch functions for use outside of components.
API Reference
| Function | Description |
|---|---|
getDocument | Fetch a document |
getDocumentData | Fetch only the data part of a document |
getDocumentMaybe | Fetch a document that might not exist |
getDocumentDataMaybe | Fetch only the data part of a document that might not exist |
getDocumentTx | Fetch a document as part of a transaction |
getDocumentMaybeTx | Fetch a document that might not exist as part of a transaction |
getSpecificDocument | Fetch a specific document |
getSpecificDocumentData | Fetch only the data part of a specific document |
getSpecificDocumentTx | Fetch a specific document as part of a transaction |
getDocuments | Fetch all documents in a collection query |
getDocumentsData | Fetch only the data of all documents in a collection query |
getCollectionCount | Fetch the number of documents in a query |