姬長信(Redy)

android – Firebase查询数据


{
  "random_key 1" : {
    "id": 0,
    "text": "This is text"
  },
  "random_key 2" : {
    "id": 1,
    "text": "This is text"
  }
}

如果我像这样存储我的数据,并且我想获得id等于0的节点.我该怎么做?

以上是问题的孩子,这是root的孩子.