Retrieve document and all nested documents in Cloud Firestore #761
Labels
api: firestore
Issues related to the Firestore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Hello,
I have a collection called
Articles
containing article documents. Each article document has some fields (title, author, you get the gist) and a sub-collectionBlocks
which represent paragraphs, sub-titles, images, etc.I am easily getting the
Article object
but I have to do another query to receive theBlock objects
it contains; i.e. two network round-trips, which is not ideal.Is there are way to query the article in question and retrieve its sub-collections and their documents in full?
The text was updated successfully, but these errors were encountered: