是否有可能查询不符合指定条件的数据? [英] is it possible query data that are not equal to the specified condition?

查看:119
本文介绍了是否有可能查询不符合指定条件的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的listview(android)提取用户列表,我使用了firebaselistadapter来备份我的listview,我想向用户显示除我以外的数据。
像一个SQL查询从usertable选择的东西,其中id!= userid;

我想获取所有其他用户的数据,


<目前,Firebase仅提供了一种基于特定值存在的方式来包含 节点的方法。解决方案

更新(20160828):我今天写了一个相关的答案,显示了如何检测财产的缺席


Am fetching list of users for my listview (android) i used firebaselistadapter to backing up my listview , I wanna show users data except mine . Like an sql query Select something from usertable where id!=userid;

i wanna fetch all other users data,

解决方案

Firebase currently only offers a way to include nodes based on the presence of a certain value. You cannot exclude nodes based on the presence of a value.

Update (20160828): I wrote a related answer today that shows how to detect the absence of a property.

这篇关于是否有可能查询不符合指定条件的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
移动开发最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆