Firebase - 按列表过滤

时间:2017-02-21 02:02:02

标签: firebase firebase-realtime-database

我有这个:

"solCompras" : {
    "-KdTAI4IUPrAXnz4UKwD" : {
      "words" : {
        "-KdTAI4HdSdjANZYPrUs" : "one",
        "-KdTAI4IUPrAXnz4UKwB" : "two",
        "-KdTAI4IUPrAXnz4UKwC" : "three"
      },
      "post" : "yyyy",
      "user" : "demo"
    },
    "-KdTBH9LRyD0tZwa7tBj" : {
      "words" : {
        "-KdTBH9LRyD0tZwa7tBf" : "four",
        "-KdTBH9LRyD0tZwa7tBg" : "five"
      },
      "post" : "xxxx",
      "user" : "demo"
    }
 }

如何过滤至少有一个字等于solcompras的{​​{1}}?感谢。

0 个答案:

没有答案