[−][src]Module firestore_db_and_auth::documents
Firestore Document Access
Interact with Firestore documents. Please check the root page of this documentation for examples.
Structs
| List | This type is returned as a result by [ |
| Query | This type is returned as a result by [ |
| WriteOptions | Write options. The default will overwrite a target document and not merge fields. |
| WriteResult | This is returned by the write() method in a successful case. |
Traits
| JoinableIterator | An |
Functions
| abs_to_rel | Converts an absolute path like "projects/{PROJECT_ID}/databases/(default)/documents/my_collection/document_id" into a relative document path like "my_collection/document_id" |
| delete | Deletes the document at the given path. |
| list | List all documents of a given collection. |
| query | Queries the database for specific documents, for example all documents in a collection of 'type' == "car". |
| read | Read a document of a specific type from a collection |
| read_by_name | Read a document of a specific type from a collection by its Firestore document name |
| write | Write a document to a given collection. |