Skip to content

Instantly share code, notes, and snippets.

@florent37
Last active February 16, 2016 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florent37/8e31c11995d07529e6f9 to your computer and use it in GitHub Desktop.
Save florent37/8e31c11995d07529e6f9 to your computer and use it in GitHub Desktop.
UserEntityManager userEntityManager = new UserEntityManager();
List<User> users = userEntityManager.select()
.fields(UserColumn.name, UserColumn.age)
.age().equals(3)
.asList();
List<String> usersNames = userEntityManager.select()
.field(UserColumn.name)
.asList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment