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
Post a Comment