Von: Stephane Maldini (@smaldini)
To use multiple sort with detached queries (aka where queries) , you need to do : Book.where{}. order(‘title’, ‘asc’). order(‘isbn’, ‘asc’).list()
View ArticleVon: An Army of Solipsists » Blog Archive » This Week in Grails (2011-51)
[...] Grails Database Queries – Criteria Builder vs. Where Queries [...]
View ArticleVon: » Blog Archive
[...] Grails Database Queries – Criteria Builder vs. Where Queries [...]
View ArticleBy: Stephane Maldini (@smaldini)
To use multiple sort with detached queries (aka where queries) , you need to do : Book.where{}. order(‘title’, ‘asc’). order(‘isbn’, ‘asc’).list()
View ArticleBy: An Army of Solipsists » Blog Archive » This Week in Grails (2011-51)
[...] Grails Database Queries – Criteria Builder vs. Where Queries [...]
View ArticleBy: » Blog Archive
[...] Grails Database Queries – Criteria Builder vs. Where Queries [...]
View ArticleBy: soltesza
Great article, many thanks! Where queries confused the hell out of me when I first encountered them (i didn’t understand why they were needed in the first place). Compile-time checking is a great...
View ArticleBy: Richard Detsch
What are the gradle depednecies for capabilities like findAll(query) and createCriteria()
View Article
More Pages to Explore .....