They're also indexed by default, so query performance is proportional to the size of your result set, not your data set.
My current one is to store all the userId that has been added to the group in a Map as key and differentiate their roles removed or not by their value.
That is why we separate complex entities to different structs.
The names of documents within a collection are unique.
There are some differences for example, documents support extra data types and are limited in size to 1 MB , but in general, you can treat documents as lightweight JSON records.
The dependencies will be added without your intervention.
Cloud Firestore is a cloud-hosted, NoSQL database that your Apple, Android, and web apps can access directly via native SDKs.
Doing this can help display their info for their old message if other user read them.