Firebase是否为我们提供了诸如Parse Database for Android之类的所有查询? [英] Does Firebase provide us all queries like Parse Database for Android?
问题描述
像
wherecontaiendIn()
, Equalto()
etc?漂亮的理论问题。尝试查看他们的文档: Firebase Docs
Firebase允许自定义查询和一些预定义的方法,如:
lockquote
Query:startAt(boolean value,String key)创建一个限制查询
仅使用给定的orderBy指令或优先级作为默认值
并且另外只有具有大于或等于或大于或小于0的键的子节点才返回具有大于或等于
给定值的值的子节点等于
的给定键。
和其他许多人一样:
startAt(布尔值)
值大于或等于给定值的节点,使用给定orderBy指令的
或优先级作为默认值。
startAt(double value,String key)
创建一个限制只返回值为
的子节点的查询大于或等于给定值,使用给定的orderBy
指令或优先级作为默认值,并且另外只有子节点
,且其中的键大于或等于给定键。创建仅限于返回子
在这里查看完整的数据库引用: Firebase数据库API
检查所有查询函数: Firebase查询
或者您可以在这里查看完整的API: API参考Firebase p>
Does Firebase provide all queries like parse database for Android?
Like wherecontaiendIn()
, Equalto()
etc?
Pretty theoretical question. Try looking in their documentation: Firebase Docs
Firebase allows custom queries and some pre-defined methods such as:
Query: startAt(boolean value, String key) Create a query constrained to only return child nodes with a value greater than or equal to the given value, using the given orderBy directive or priority as default, and additionally only child nodes with a key greater than or equal to the given key.
And many others such as:
startAt(boolean value)
nodes with a value greater than or equal to the given value, using the given orderBy directive or priority as default. startAt(double value, String key)
Create a query constrained to only return child nodes with a value greater than or equal to the given value, using the given orderBy directive or priority as default, and additionally only child nodes with a key greater than or equal to the given key.Create a query constrained to only return child
Check their complete database references here: Firebase Database API
Check all queries functions: Firebase Queries
Or you can check their complete API here: API Reference Firebase
这篇关于Firebase是否为我们提供了诸如Parse Database for Android之类的所有查询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!