English | 简体中文

api-docs / org.ktorm.dsl / BatchUpdateStatementBuilder

BatchUpdateStatementBuilder

class BatchUpdateStatementBuilder<T : BaseTable<*>> (source code)

DSL builder for batch update statements.

Constructors

NameSummary

<init>

BatchUpdateStatementBuilder(table: T)

DSL builder for batch update statements.

Functions

NameSummary

item

fun item(block: UpdateStatementBuilder.(T) -> Unit): Unit

Add an update statement to the current batch operation.

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.