giovedì 19 maggio 2011

Narrowing properties returned from Grails Criteria

These snippets show a nice feature that I think could be better documented in Grails docs: the use of projections closure to narrow properties returned from criteria.



And it works with associations too:

Nessun commento: