English | 简体中文

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

LockingClause

data class LockingClause (source code)

PostgreSQL locking clause. See https://www.postgresql.org/docs/13/sql-select.html#SQL-FOR-UPDATE-SHARE

Since
3.4.0

Constructors

NameSummary

<init>

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

PostgreSQL locking clause. See https://www.postgresql.org/docs/13/sql-select.html#SQL-FOR-UPDATE-SHARE

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.