Criteria

data class Criteria(val filters: List<Filter> = listOf(), val orderBy: List<OrderBy> = listOf(), val pagination: Pagination = Pagination())

Constructors

Link copied to clipboard
constructor(filters: List<Filter> = listOf(), orderBy: List<OrderBy> = listOf(), pagination: Pagination = Pagination())

Properties

Link copied to clipboard

The filters list, for now they are chained with the "and" condition.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Create a copy of an existing Criteria and return the copy with the modified one

Link copied to clipboard

Replace any filter by Its field name

Link copied to clipboard