I recently started working with Firebase and have encountered an issue regarding the use of the 'where' clause.
Here is a sample of the JSON data I'm dealing with:
Users
|
|_____ John
| |___ name: John Farmer
| |___ searchingForGame: true
|
|_____ James
| |___ name: James Smith
| |___ searchingForGame: false
|
|_____ Barbara
|___ name: Barbara Smith
|___ searchingForGame: true
My goal is to retrieve all Users WHERE searchingForGame = true
.
Any suggestions on how to achieve this?