I have a list on Firebase
list: {
-firebasepushid1: {...},
-firebasepushid2: {...},
-firebasepushid3: {...},
-firebasepushid4: {...},
-firebasepushid5: {...},
-firebasepushid6: {...},
...
}
I know I can get the whole list with db.ref("list/")
or a especific document db.ref("list/-firebasepushid1")
.
What If I want to get 3 especific documents?
I think 2 ways but they would cause overload on the server I guess:
- Making a loop for the 3 documents separately
- Get the whole list and seek on the client
It would be ideal to do this with a single query to the server. You have some way?