我有一个相对简单的应用程序,可以向用户显示引号。当用户看到引号时,它被添加为用户表的“seenQuote”关系,因此他不再看到它。但是,当我想要检索用户尚未看到的新引号时,它仍会返回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 that have been seen
}
});
我做错了什么?