java - Objectify Appengine should query a few rows -


is there way load fix number of saved rows/data using objectify v5?

for example, wanted load 10.

query

humanentity human = ofy().load().type( humanentity.class ); 

what add here?

found it!

query<humanentity> human = ofy().load().type( humanentity.class ).limit( 10 ); 

Comments