English | 简体中文

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

MySqlAssignmentsBuilder

open class MySqlAssignmentsBuilder : AssignmentsBuilder (source code)

Base class of MySQL DSL builders, provide basic functions used to build assignments for insert or update DSL.

Constructors

NameSummary

<init>

MySqlAssignmentsBuilder()

Base class of MySQL DSL builders, provide basic functions used to build assignments for insert or update DSL.

Inherited Properties

NameSummary

_assignments

Inherited Functions

NameSummary

set

fun <C : Any> set(
    column: Column<C>,
    expr: ColumnDeclaring<C>
): Unit

Assign the specific column’s value to another column or an expression’s result.

fun <C : Any> set(column: Column<C>, value: C?): Unit

fun set(column: Column<*>, value: Any?): Unit

Assign the specific column to a value.

to

infix fun <C : Any> Column<C>.to(
    expr: ColumnDeclaring<C>
): Unit

Assign the current column to another column or an expression’s result.

infix fun <C : Any> Column<C>.to(value: C?): Unit

infix fun Column<*>.to(value: Any?): Unit

Assign the current column to a specific value.

Inheritors

NameSummary

BulkInsertOrUpdateOnDuplicateKeyClauseBuilder

class BulkInsertOrUpdateOnDuplicateKeyClauseBuilder : 
    MySqlAssignmentsBuilder

DSL builder for bulk insert or update on duplicate key clause.

InsertOrUpdateStatementBuilder

class InsertOrUpdateStatementBuilder : 
    MySqlAssignmentsBuilder

DSL builder for insert or update statements.