Skip to content

Instantly share code, notes, and snippets.

@timoteoponce
Created September 17, 2012 04:17
Show Gist options
  • Save timoteoponce/3735501 to your computer and use it in GitHub Desktop.
Save timoteoponce/3735501 to your computer and use it in GitHub Desktop.
Domain query 2
User user = userLister.withName( param1 ).get(0);
doSomething( user );
// and what about something more complex?
List<User> list = userLister.withName( name ).beingSingle( true ).withChidrenGt( 3 ).list();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment