Reputation: 3987
In the Grails documentation, we read:
def results = Book.list(max: 10, offset: 100)
Also, from this MySQL tutorial, we read: the offset specifies the offset of the first row to return.
Questions:
Upvotes: 2
Views: 4111
Reputation: 50265
Hello GORM, when you return me a list of Book
s give me only 10 (max) results but do not start from the Zeroth (offset = 0) place, instead start listing results from 100th (offset) result.
Upvotes: 4