I am trying this code:
Query query = FirebaseDatabase.getInstance().getReference("Current Location")
.orderByChild("email_id").equalTo("pratiksiddhapura11@gmail.com")
.orderByChild("date").equalTo("2019/11/18");
but this is not worked on me and give an error like this:-
- You can't combine multiple orderBy calls!
I want user data where email_id="pratiksiddhapura11@gmail.com" and date = "2019/11/18"
Any other solution?
For Android(JAVA)