0

I have the following structure in firebase

"groups":{
  "A": {
    "countries": -something-
    "matches": -something-
  },
  "B": {
    "countries": -something-
    "matches": -something-
  },
  "C": {
    "countries": -something-
    "matches": -something-
  }
}

Is there a way to get all the elements, only with the "matches" property on them? I am currently using the firebase library for react native

  • The Firebase Realtime Database always returns complete nodes. There's no way to get only some properties of each child node. If you need only that data, consider creating an additional top-level node that contains only the matches for each group. – Frank van Puffelen Sep 08 '22 at 23:44

0 Answers0