I have just started to use firebase in my android project and the problem i am facing that i want to retrieve data from firebase based on a multiple query search.
Query query = firebase.orderByChild("sender").equalTo(senderEmail);
and i want something like
Query query = firebase.orderByChild("sender").equalTo(senderEmail).orderByChild("reciever").equalTo(receiverEmail");
but it throws an exception that you can not use multiple orderByChild
in a single query. Any help will be highly appreciated.
If this question has been asked before please refer me to the link
Thanks!