Projekcje w Grails
def result = Person.createCriteria().list {
projections {
property('firstName')
property('lastName')
}
}
Silly Sandpiper
def result = Person.createCriteria().list {
projections {
property('firstName')
property('lastName')
}
}