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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -