api-docs / org.ktorm.expression / ExistsExpression
ExistsExpression
data class ExistsExpression : ScalarExpression<Boolean>
(source code)Exists expression, check if the specific query has at least one result.
Constructors
Name | Summary |
---|---|
ExistsExpression( Exists expression, check if the specific query has at least one result. |
Properties
Name | Summary |
---|---|
Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs. | |
val isLeafNode: Boolean Check if this expression is a leaf node in expression trees. | |
val notExists: Boolean mark if this expression is translated to | |
val query: QueryExpression the query expression. | |
The SqlType of this column or expression. |
Inherited Functions
Name | Summary |
---|---|
open fun aliased( Wrap this instance as a ColumnDeclaringExpression. | |
open fun asExpression(): ScalarExpression<T> Convert this instance to a ScalarExpression. | |
open fun wrapArgument(argument: T?): ArgumentExpression<T> Wrap the given argument as an ArgumentExpression using the sqlType. |
Extension Functions
Name | Summary |
---|---|
infix fun ColumnDeclaring<Boolean>.and( infix fun ColumnDeclaring<Boolean>.and( And operator, translated to the | |
fun ColumnDeclaring<*>.asc(): OrderByExpression Order this column or expression in ascending order. | |
fun <T : Any> ColumnDeclaring<*>.cast( Cast the current column or expression to the given SqlType. | |
fun ColumnDeclaring<*>.desc(): OrderByExpression Order this column or expression in descending order, corresponding to the | |
infix fun <T : Any> ColumnDeclaring<T>.eq( infix fun <T : Any> ColumnDeclaring<T>.eq( infix fun <T : Any> T.eq( Equal operator, translated to | |
fun <T : Any> ColumnDeclaring<T>.ifNull( fun <T : Any> ColumnDeclaring<T>.ifNull( MySQL ifnull function, translated to | |
fun <T : Any> ColumnDeclaring<T>.ifNull( fun <T : Any> ColumnDeclaring<T>.ifNull( SQLite ifnull function, translated to | |
infix fun ColumnDeclaring<*>.ilike( infix fun ColumnDeclaring<*>.ilike( ILike operator, translated to the | |
fun <T : Any> ColumnDeclaring<T>.inList( infix fun <T : Any> ColumnDeclaring<T>.inList( infix fun ColumnDeclaring<*>.inList( In-list operator, translated to the | |
fun ColumnDeclaring<*>.isNotNull(): UnaryExpression<Boolean> Check if the current column or expression is not null, translated to | |
fun ColumnDeclaring<*>.isNull(): UnaryExpression<Boolean> Check if the current column or expression is null, translated to | |
fun <T : Any> ColumnDeclaring<*>.jsonExtract( SQLite json_extract function, translated to | |
fun ColumnDeclaring<*>.jsonPatch( SQLite json_patch function, translated to | |
fun ColumnDeclaring<*>.jsonRemove( SQLite json_remove function, translated to | |
fun ColumnDeclaring<*>.jsonValid(): FunctionExpression<Boolean> SQLite json_valid function, translated to | |
infix fun ColumnDeclaring<*>.like( infix fun ColumnDeclaring<*>.like( Like operator, translated to the | |
infix fun <T : Any> ColumnDeclaring<T>.neq( infix fun <T : Any> ColumnDeclaring<T>.neq( infix fun <T : Any> T.neq( Not-equal operator, translated to | |
operator fun ColumnDeclaring<Boolean>.not(): UnaryExpression<Boolean> Negative operator, translated to the | |
infix fun <T : Any> ColumnDeclaring<T>.notEq( infix fun <T : Any> ColumnDeclaring<T>.notEq( infix fun <T : Any> T.notEq( Not-equal operator, translated to | |
fun <T : Any> ColumnDeclaring<T>.notInList( infix fun <T : Any> ColumnDeclaring<T>.notInList( infix fun ColumnDeclaring<*>.notInList( Not-in-list operator, translated to the | |
infix fun ColumnDeclaring<*>.notLike( infix fun ColumnDeclaring<*>.notLike( Not like operator, translated to the | |
infix fun ColumnDeclaring<Boolean>.or( infix fun ColumnDeclaring<Boolean>.or( Or operator, translated to the | |
fun ColumnDeclaring<Boolean>. Cast the current column or expression’s type to Int. | |
infix fun ColumnDeclaring<Boolean>.xor( infix fun ColumnDeclaring<Boolean>.xor( Xor operator, translated to the |