I Ilya G. Active Member Licensed User Longtime User Mar 19, 2020 #1 How can I get from base only read=0 messages?
DonManfred Expert Licensed User Longtime User Mar 19, 2020 #2 Where is the code you tried? Where is the error you got? Upvote 0
I Ilya G. Active Member Licensed User Longtime User Mar 19, 2020 #3 I try this, but nothing found B4X: chtref.Initialize("Reference", realtime.getReference2("/chats/77075648799"), "chats") Dim qry As FBQuery qry.Initialize("QueryResult", chtref.Child("/").equalTo2("read", 0).QueryObj) qry.addValueEventListener Upvote 0
I try this, but nothing found B4X: chtref.Initialize("Reference", realtime.getReference2("/chats/77075648799"), "chats") Dim qry As FBQuery qry.Initialize("QueryResult", chtref.Child("/").equalTo2("read", 0).QueryObj) qry.addValueEventListener
DonManfred Expert Licensed User Longtime User Mar 19, 2020 #4 try B4X: chtref.Initialize("Reference", realtime.getReference2("/chats/77075648799"), "chats") Dim qry As FBQuery qry.Initialize("QueryResult", chtref.Child("/messages").equalTo2("read", 0).QueryObj) qry.addValueEventListener Upvote 0
try B4X: chtref.Initialize("Reference", realtime.getReference2("/chats/77075648799"), "chats") Dim qry As FBQuery qry.Initialize("QueryResult", chtref.Child("/messages").equalTo2("read", 0).QueryObj) qry.addValueEventListener