Firebase database Not equal request - Alternative solution (for iOS)
问题 I am using Firebase database with a Json structure to manage users' comments. { "post-comments" : { "post-id-1" : { "comment-id-11" : { "author" : "user1", "text" : "Hello world", "uid" : "user-id-2" },.... } I would like to pull all the comments but excluding the current user's one. In SQL this will be translated into: Select * from post-comments where id !="user-id-2" I understand that Firebase database does not offer a way to excludes nodes based on the presence of a value (ie: user id !=