English | 简体中文

api-docs / org.ktorm.dsl / BatchInsertStatementBuilder

BatchInsertStatementBuilder

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

DSL builder for batch insert statements.

Constructors

NameSummary

<init>

BatchInsertStatementBuilder(table: T)

DSL builder for batch insert statements.

Functions

NameSummary

item

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

Add an insert 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.