Admiral
Admiral

Reputation: 1908

Nested collection cloud firestore always loaded?

Does Google's Cloud firestore download all nested data form a queried document?

Is the content of collection 'content' (which is inside the article document) always loaded when I query for the document in the picture?

a screenshot of firestore

Upvotes: 0

Views: 64

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317750

No. Queries in Firestore don't consider documents in subcollections, just documents in the collection that's named in the query.

Upvotes: 1

Related Questions