Question : projections in grails
Answered by : silly-sandpiper-8ny2trv4zjg8
def result = Person.createCriteria().list { projections { property('firstName') property('lastName') }
}
Source : | Last Update : Thu, 18 Feb 21
Answered by : silly-sandpiper-8ny2trv4zjg8
def result = Person.createCriteria().list { projections { property('firstName') property('lastName') }
}
Source : | Last Update : Thu, 18 Feb 21