android - Objectify query result mystery -
i have entity w/ @id in string type , managed insert 1 record.
when execute query below, able see record returned query:
ofy().transactionless().load().type(score.class).first().now();
however, when try query via id() method, got 0 record.
ofy().transactionless().load().type(score.class).id("idstring").now;
any idea may have missed?
thanks!
your first query producing first score entity in datastore. second query looking specific key. have id specified incorrectly.
also, don't need transactionless() - special use case.
Comments
Post a Comment