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

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -