Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added text that describes where to get the criterion methods #422

Merged
merged 2 commits into from
Jan 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/en/ref/Domain Classes/createCriteria.gdoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Creates and returns an instance of Grails' [HibernateCriteriaBuilder|http://grai

h2. Examples

The criterion methods (like, and, or, between etc) used to build the criteria can be statically imported from HibernateCriteriaBuilder (as in the following examples in this document), or written as "c.like(...)", "c.between(...)" etc.

{code:java}
def c = Account.createCriteria()
def results = c.list {
Expand Down