Support method "were" in CollectionReference
complete
Ramon Salla
CollectionReference.where helps quering firestore db.
For instance using "array-contains" to find docs with the same field.
Looking at v6 documentation it is not yet implemented.
Thank you very much.
Mike Diarmid
complete
This is already supported on v6, just the docs were missing; these have been updated now: https://invertase.io/oss/react-native-firebase/v6/firestore/reference/collectionreference#where
Gustavo
You can use it already. The syntax is similar to the Web SDK, just try it (e.g.
firestore().collection(products).where('active', '==', true)
). The docs seem to be lacking some stuff.