Query

class Query(clazz: KClass<*>)

Types

Link copied to clipboard
class Clause(queryString: String, data: List<Any?>)
Link copied to clipboard
object Companion

Functions

Link copied to clipboard
infix fun List<Database.Query.Clause>.and(other: List<Database.Query.Clause>): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.between(value: Pair<T, T>): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.eq(value: T): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.greater(value: T): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.greaterEq(value: T?): List<Database.Query.Clause>
Link copied to clipboard
infix fun KProperty<*>.isIn(value: SQLStatement): List<Database.Query.Clause>
infix fun <T> KProperty<T>.isIn(value: List<T>): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.less(value: T?): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.lessEq(value: T?): List<Database.Query.Clause>
Link copied to clipboard
infix fun KProperty<String>.like(value: String): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.notBetween(value: Pair<T, T>): List<Database.Query.Clause>
Link copied to clipboard
infix fun <T> KProperty<T>.notEq(value: T): List<Database.Query.Clause>
Link copied to clipboard
infix fun KProperty<*>.notIn(value: SQLStatement): List<Database.Query.Clause>
infix fun <T> KProperty<T>.notIn(value: List<T>): List<Database.Query.Clause>
Link copied to clipboard
infix fun KProperty<String>.notLike(value: String): List<Database.Query.Clause>
Link copied to clipboard
infix fun List<Database.Query.Clause>.or(other: List<Database.Query.Clause>): List<Database.Query.Clause>