{"version":"1.0","type":"rich","title":"firestore get multiple docs from the same collection","description":"This example shows how to retrieve multiple documents from the same Firestore collection using the Cloud Firestore SDK. The code demonstrates batch-fetching documents by their IDs, likely to aggregate data for visualization. It uses Firebase’s `firestore` API, specifically `getDocs` or `doc().get()` methods, to asynchronously query and handle each document snapshot. The gist relies on a configuration file (`cloudSettings`) and a settings sync extension, but the core logic focuses on Firestore’s promise-based data retrieval, making it a practical reference for loading multiple records before rendering charts or graphs.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1c5df40af470eccbd01a8c1162ea8254?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}