No, fetching a document from Firestore only retrieves the document itself, not the collections contained within it. If you want to retrieve the collections contained within a document, you will need to query for them separately.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-03-27 11:00:00 +0000
Seen: 15 times
Last updated: Apr 13 '21
Can multiple "array-contains" queries be implemented in firestore through a workaround?
What is the reason for the failure of ImmutableCollection.contains(null)?
How can I convert a Document in Python?
What is the method for creating a subcollection in Firebase Firestore?
What is the method of using relative position in CSS?
How to search for data in a subcollection of Firestore using a field from the main document?
What is the method to obtain the ids of documents in a list using Flutter Firestore?