Skip to content

Instantly share code, notes, and snippets.

@florent37
Last active February 16, 2016 13:33
Show Gist options
  • 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