DocumentReference refers to a document location in a Firestore database
and can be used to write, read, or listen to the location. The document at
the referenced location may or may not exist. A
also be used to create a
CollectionReference to a subcollection.
The firebase.firestore.Firestore the document is in. This is useful for performing transactions, for example.
The document's identifier within its collection.
The Collection this
DocumentReference belongs to.
A string representing the path of the referenced document (relative to the root of the database).
CollectionReferenceinstance that refers to the collection at the specified path.
A slash-separated path to a collection.
Deletes the document referred to by this
A Promise resolved once the document has been successfully deleted from the backend (Note that it won't resolve while you're offline).