pub async fn read_by_name<T>(
auth: &impl FirebaseAuthBearer,
document_name: &str,
) -> Result<T>where
for<'b> T: Deserialize<'b>,
Expand description
Read a document of a specific type from a collection by its Firestore document name
ยงArguments
auth
The authentication tokendocument_name
The document path / collection and document id; For exampleprojects/my_project/databases/(default)/documents/tests/test