How do I query other Firebase Users?

孤街醉人 提交于 2019-12-10 10:57:41

问题


I've updated to the newest Firebase (3.2) but can't figure out how to query other users. I've gotten their FacebookID from the Facebook SDK and want to pull data from Firebase based off of that.

I want to do something like below but need to do it on FIRUser instead.

let climbRef = FIRDatabase.database().reference().child("/climb")
let climbQuery = climbRef.queryOrderedByChild("userId").queryEqualToValue(userId)

来源:https://stackoverflow.com/questions/37449635/how-do-i-query-other-firebase-users

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!