Answers for "how to use pagination in grails"

0

pagination in grails

def criteria = Person.createCriteria()
def result = criteria.list {
    eq ('firstName', 'John')
    order('lastName', 'asc')
    firstResult(0)
    maxResults(10)
}
Posted by: Guest on February-11-2021

Code answers related to "how to use pagination in grails"

Browse Popular Code Answers by Language