jamesfredley commented on code in PR #963: URL: https://github.com/apache/grails-doc/pull/963#discussion_r2006526045
########## src/en/ref/Domain Classes/list.adoc: ########## @@ -30,7 +30,7 @@ def results = Book.list(max: 10, offset: 100, sort: "title", order: "desc") def results = Book.list(fetch: [authors: "eager"]) ---- -When `max` is specified as a named argument this will return a http://grails.github.io/grails-data-mapping/latest/api/grails/orm/PagedResultList.html[PagedResultList] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they're run for you and the results and total count are combined in the `PagedResultList`. +When `max` is specified as a named argument this will return a https://apache.github.io/grails-data-mapping/latest/api/grails/orm/PagedResultList.html[PagedResultList] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they're run for you and the results and total count are combined in the `PagedResultList`. Review Comment: Replaced https://apache.github.io/grails-data-mapping/latest/api/grails/orm/PagedResultList.html with https://gorm.grails.org/{gormVersion}/api/grails/orm/PagedResultList.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
