QueryableDsl

abstract class QueryableDsl<Q : Queryable<Q>>

Represents a DSL (Domain Specific Language) for constructing queryable objects. This abstract class allows for the fluent and type-safe construction of queries, including setting up projections, conditions, and sorting.

Parameters

Q

The type of the queryable object that this DSL is constructing.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun build(): Q
Link copied to clipboard
fun condition(block: ConditionDsl.() -> Unit)
fun condition(condition: Condition)
Link copied to clipboard
fun projection(block: ProjectionDsl.() -> Unit)
fun projection(projection: Projection)
Link copied to clipboard
fun sort(block: SortDsl.() -> Unit)
fun sort(sort: List<Sort>)