English | 简体中文

api-docs / org.ktorm.dsl / Query / totalRecordsInAllPages

totalRecordsInAllPages

val totalRecordsInAllPages: Int (source code)

The total record count of this query ignoring the pagination params.

If the query doesn’t limit the results via Query.limit function, return the size of the result set. Or if
it does, return the total record count of the query ignoring the offset and limit parameters. This property
is provided to support pagination, we can calculate the page count through dividing it by our page size.

Getter

The total record count of this query ignoring the pagination params.

If the query doesn’t limit the results via Query.limit function, return the size of the result set. Or if
it does, return the total record count of the query ignoring the offset and limit parameters. This property
is provided to support pagination, we can calculate the page count through dividing it by our page size.