I want to give my users the functionality to find their friends through their contact list. Every user has his phonenumber in their document. My data structure looks like this:
user {
username: 'abc',
email : 'abc@abc.com'
telephone: '+293184192123'
}
I know that there are many posts about the Logical OR, which are saying it doesnt work without an workaround, but I couldn't find a workaround in my specific situation.
And in the worst cast, is it ok to query maybe 100 queries one after another ? And is there something simular to BatchWrite for Read calls ?
EDIT: Here is an example how maybe a query would looked alike
db.collection("users").whereEqualTo("telephone", "+123456789")
.orEqualTo("telephone", "+777772423")
.orEqualTo("telephone", "+4923842959"); //And so on, you get the Idea
These telephone numbers will get readed out from the local storage from the Android Phone. So these phonenumbers are basically the contacts of the app user.