ListQuery
data class ListQuery(val condition: Condition, val projection: Projection = Projection.ALL, val sort: List<Sort> = emptyList(), val limit: Int = Pagination.DEFAULT.size) : IListQuery
Data class representing a query for retrieving a list of items with optional filtering, projection, sorting, and limiting.
This class implements IListQuery and provides a concrete implementation for list-based queries. It supports all standard query operations including conditions, projections, sorting, and result limiting.
Samples
Constructors
Properties
Functions
Link copied to clipboard
Appends a condition to the existing condition using logical AND. This method combines the current condition with the appended condition.
Link copied to clipboard
Appends a tenant ID condition to filter results by tenant.
Link copied to clipboard
Creates a new ListQuery with the specified condition.
Link copied to clipboard
Creates a new ListQuery with the specified projection.