[英]How do I get the key of this level?
Hi, I have this problem in query in Firebase. 嗨,我在Firebase中的查询中遇到了这个问题。 The orderbykey() and orderbychild() doesn't work.
orderbykey()和orderbychild()不起作用。 How do I query this one?
我该如何查询?
cheers, thanks in advance. 干杯,谢谢。
Code Snippet: 代码段:
Query mRef = mRootRef.child("Messages").orderByKey().equalTo(mAuth.getCurrentUser().getUid());
Query mRef = mRootRef.child("Messages").orderByChild("commWith").equalTo(mAuth.getCurrentUser().getUid());
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.