We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.collections()
DocumentReference
The Firestore docs for the DocumentReference class include a .collections method, which lists all subcollections present in the document.
.collections
Example use case:
from mockfirestore import MockFirestore mock_db = MockFirestore() mock_db.collection("SOME_COLLECTION").document("SOME_DOCUMENT").collections()
Error:
AttributeError: 'DocumentReference' object has no attribute 'collections'
Link to docs: https://cloud.google.com/python/docs/reference/firestore/latest/google.cloud.firestore_v1.document.DocumentReference#google_cloud_firestore_v1_document_DocumentReference_collections
The text was updated successfully, but these errors were encountered:
Bumping this so one of the contributors can see this... @mdowds
Sorry, something went wrong.
No branches or pull requests
The Firestore docs for the DocumentReference class include a
.collections
method, which lists all subcollections present in the document.Example use case:
Error:
Link to docs: https://cloud.google.com/python/docs/reference/firestore/latest/google.cloud.firestore_v1.document.DocumentReference#google_cloud_firestore_v1_document_DocumentReference_collections
The text was updated successfully, but these errors were encountered: