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

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -