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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -