Can you query in firestore?

Cloud Firestore provides powerful query functionality for specifying which documents you want to retrieve from a collection or collection group . These queries can also be used with either get() or addSnapshotListener() , as described in Get Data and Get Realtime Updates.11 Kas 2021

Read more

How do I add an array to firestore?

When it comes to the official documentation regarding how to update elements in an array in Firestore, it says that: If your document contains an array field, you can use arrayUnion() and arrayRemove() to add and remove elements . arrayUnion() adds elements to an array but only elements not already present.

Read more