To Query from Firebase Firestore
documents by using properties of objects.
My Data Structure :
document{
id:"document-id",
user: {
name:"John",
email:"example@gmail.com"
}
}
How to query from a collection in which I want documents having "example@gmail.com" as email address of user.
Note:
This question is similar to this one : Firestore: Query documents by property of object
But, that question is for backend(node) and this one is for frontend(java).