English | 简体中文

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

BulkInsertStatementBuilder

open class BulkInsertStatementBuilder<T : BaseTable<*>> (source code)

DSL builder for bulk insert statements.

Constructors

NameSummary

<init>

BulkInsertStatementBuilder(table: T)

DSL builder for bulk insert statements.

Functions

NameSummary

item

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

Add the assignments of a new row to the bulk insert.

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.

Inheritors

NameSummary

BulkInsertOrUpdateStatementBuilder

class BulkInsertOrUpdateStatementBuilder<T : BaseTable<*>> : 
    BulkInsertStatementBuilder<T>

DSL builder for bulk insert or update statements.