SingleQueryDsl
Represents a DSL for constructing a single query. This class extends QueryableDsl and is specifically designed to build instances of ISingleQuery. It allows for the fluent and type-safe construction of queries, including setting up projections, conditions, and sorting.
Example usage:
val query = singleQuery {
condition {
"name" eq "John Doe"
}
projection {
include("id", "name")
}
sort {
"name".asc()
"age".desc()
}
}
Content copied to clipboard