I have a Firebase Realtime Database and I want to retrieve the data from one of my table on the basis of two conditions, I have used multiple "orderBy" in my query but I am getting the following error:
ERROR => Query.orderByChild: You can't combine multiple orderBy calls.
Query =>
firebase.database().ref().child('newCoverImages').orderByChild('is_approved').equalTo(false).orderByChild('is_rejected').equalTo(false).on('value', function(snapshot) {
console.log(snapshot.val());
});