Skip to content

Commit

Permalink
Merge pull request #422 from dervism/master
Browse files Browse the repository at this point in the history
Added text that describes where to get the criterion methods
  • Loading branch information
graemerocher committed Jan 27, 2016
2 parents 26175e1 + d08a735 commit df762b6
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit df762b6

Please sign in to comment.