android - Apply multiple whereNotEqualTo() to ParseQuery -


parsequery<user> searchuserquery = parsequery.getquery(user.class); searchuserquery.wherenotequalto("objectid", parseuser.getcurrentuser().getobjectid()); searchuserquery.wherenotequalto("objectid", "some object id"); 

i getting current user in result. means second wherenotequalto() applied query. may know how apply multiple wherenotequalto() parsequery?

you can pass array of string of users objectid

string[] listobjectid= {"objectid1", "objectid2", "objectid3"}; query.wherenotequalto("objectid", arrays.aslist(listobjectid)); 

Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -