Not

data class Not<T : Any>(where: Where<T>) : Where<T> (source)

Equivalent to NOT ($where) in SQL

This just wraps the passed in where clause.

Constructors

Link copied to clipboard
constructor(where: Where<T>)

Functions

Link copied to clipboard
infix fun <T : Any> Where<T>.and(other: Where<T>): Where<T>

Equivalent to AND in SQL

Link copied to clipboard
infix fun <T : Any> Where<T>.or(other: Where<T>): Where<T>

Equivalent to OR in SQL

Link copied to clipboard
open override fun toScalarSqlValue(): SqlValueFragment

Emits a scalar boolean SQL fragment using json_extract (no LATERAL joins). Used when this Where appears inside a CASE expression branch where row-level dispatch is required.

Link copied to clipboard
open override fun toSqlQuery(increment: Int): SqlQuery