Currently, I'm in the process of developing a Tic Tac Toe game using Vue and Firebase.
My goal is to display open games to users, while excluding games that already have two players and are therefore "full."
The challenge lies in this portion of my Vue code:
firebase: {
games: db.ref("games")
},
Although this code successfully retrieves the complete games object (as pictured), my objective is to filter it so that only objects with "show" = "true" are returned.
While Firebase offers an "equalTo" function, I am struggling to work around the automatically generated push IDs.
I would greatly appreciate any assistance with this issue.