How to get the children only with some properties inside? in Firebase

Viewed 14

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

0 Answers
Related