PagedQuery
class PagedQuery @InternalWowApi constructor(val filter: FilterExpression, val projection: Projection = Projection.ALL, val sort: List<Sort> = emptyList(), val pagination: Pagination = Pagination.DEFAULT, val total: TotalMode = TotalMode.BOUNDED) : Queryable<PagedQuery>
Data class representing a paginated query with filtering, projection, sorting, and pagination.
It supports all standard query operations (Queryable) and retrieves one page of the results.
Constructors
Link copied to clipboard
constructor(filter: FilterExpression, projection: Projection = Projection.ALL, sort: List<Sort> = emptyList(), pagination: Pagination = Pagination.DEFAULT, total: TotalMode = TotalMode.BOUNDED)
Properties
Link copied to clipboard
The filter expression to apply to the query.
Link copied to clipboard
The pagination settings to control which page and how many items to return.
Link copied to clipboard
The field projection to control which fields are included in the results.
Link copied to clipboard
How the total is counted; TotalMode.BOUNDED, the default, stops at the budget's count limit.