I am using the Firebase RealTime Database and I have the following keys in my data.
joinDate
isVerified
otherInfo
Now what I want is to orderBy joinDate but only get keys that have isVerified = true
I have the following query
let localRef=ref.orderByChild("isVerified").equalTo(true);
But as firebase only allows one orderby function. The above query will orderBy "isVerified" key.
How to I achive this.
Thanks