English | 简体中文

api-docs / org.ktorm.support.mysql / LockingClause

LockingClause

data class LockingClause (source code)

MySQL locking clause, See https://dev.mysql.com/doc/refman/8.0/en/innodb-locking-reads.html

Since
3.4.0

Constructors

NameSummary

<init>

LockingClause(
    mode: LockingMode,
    tables: List<TableExpression>,
    wait: LockingWait)

MySQL locking clause, See https://dev.mysql.com/doc/refman/8.0/en/innodb-locking-reads.html

Properties

NameSummary

mode

val mode: LockingMode

tables

val tables: List<TableExpression>

wait

val wait: LockingWait

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.