源码

android – Firebase查询数据


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

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

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

(0)

本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/android-firebasechaxunshuju.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9月 20, 2019 at 09:51 上午

热评文章