Skip to content Skip to sidebar Skip to footer

How To Get Documents Without Metadata From Firestore

In firestore there are collections cities, posts and users. posts have documents with reference to one user and a city, I wanted to retrieve all data from all posts and wrote a que

Solution 1:

With a document get(), you can't filter (reduce) the fields in it. When using mobile and web client SDKs, all get() operations return for all fields for all documents matched. If you need less data, you'll have to split the data into different documents and query them individually.


Post a Comment for "How To Get Documents Without Metadata From Firestore"