How am I able to fetch only elements with specified key?
In my case I have n of entries by users. If the entry is new - it's unverified and I dont want it to be fetched by other users (I dont want it to display on users screen).
So until the entry is verified, it has to be invisible.
Let's say that each entry contains a flag isVerified which is false by default. After verification it changes to true.
How to tell firebase to fetch only these entries with true as value of isVerified key?
Tried queries, but failed. It should be something like ref.orderByChild('isVerified').isTruthy or so?