createCriteria...

Grails has an incredible amount of  very useful features, amongst those the dynamic methods on domain objects. When we generate the scaffolding for a controller for a domain object we get the default list method in the controller which uses the list method on the domain object. The list method takes params as argument containing max, . . . → Read More: createCriteria() & withCriteria()