java - Parse.com whereDoesNotMatchKeyInQuery doesn't work -


i have relatively simple app shows quotes user. when user have seen quote, added "seenquote" relationship user table doesn't see again. when want retrieve new quotes user haven't seen still returns seenquotes.

parseuser user = parseuser.getcurrentuser(); final parsequery<quote> newquotes = new parsequery<quote>(quote.class); final parserelation<parseobject> seenquotes = user.getrelation("seenquotes");  newquotes.wheredoesnotmatchkeyinquery("objectid", "objectid", seenquotes.getquery());  newquotes.findinbackground(new findcallback<quote>() {   @override public void done(list<quote> quotes, parseexception e) {     // still contains quotes have been seen    } }); 

what doing wrong?


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -