English | 简体中文

api-docs / org.ktorm.schema / NestedBinding

NestedBinding

data class NestedBinding : ColumnBinding (source code)

Bind the column to nested properties, eg. employee.manager.department.id.

Constructors

NameSummary

<init>

NestedBinding(properties: List<KProperty1<*, *>>)

Bind the column to nested properties, eg. employee.manager.department.id.

Properties

NameSummary

properties

val properties: List<KProperty1<*, *>>

the nested properties, cannot be empty.

Extension Functions

NameSummary

eq

infix fun <T : Any> T.eq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Equal operator, translated to = in SQL.

neq

infix fun <T : Any> T.neq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Not-equal operator, translated to <> in SQL.

notEq

infix fun <T : Any> T.notEq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Not-equal operator, translated to <> in SQL.