I have a large collection of documents on Cloud Firestore, and each document is quite big too. I need to download them all to the front-end application, to only read one attribute from each (location).
Retrieving all the documents would use a lot of bandwidth, and computers with a slow internet connection would take 10-30 seconds to download. I need this to be done quicker, so I was thinking of using a SELECT query, to get only the location attribute, but my question is: Is the whole document information still downloaded to the front end and then slice-off the unwanted attributes, or am I only getting from the backend only the location.
If the later was the case, then the time it takes to get all documents would be less, as each document size would be a lot smaller (as only location is retrieved). Could anyone confirm how that works?
If anyone has any other ideas of how to approach this, it would be great.
Thanks,
Carlino