0

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:

  1. Making a loop for the 3 documents separately
  2. 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?

Dravidian
  • 9,945
  • 3
  • 34
  • 74
Rodolfo Paranhos
  • 793
  • 2
  • 7
  • 18

0 Answers0