Introduction
When you store data in Firebase Firestore, you often need to get all the items in a group called a collection. This helps you see or use all the data stored under that group at once.
When you want to show all user profiles stored in a 'users' collection on your app screen.
When you need to list all products available in an online store collection.
When you want to fetch all messages in a chat room collection to display the conversation.
When you want to backup or analyze all records in a specific collection.
When you want to check all entries in a collection for debugging or monitoring.