api-docs / org.ktorm.support.mysql / InsertOrUpdateExpression
InsertOrUpdateExpression
data class InsertOrUpdateExpression : SqlExpression
(source code)Insert or update expression, represents an insert statement with anon duplicate key update
clause in MySQL.
Constructors
Name | Summary |
---|---|
InsertOrUpdateExpression( Insert or update expression, represents an insert statement with an |
Properties
Name | Summary |
---|---|
val assignments: List<ColumnAssignmentExpression<*>> the inserted column assignments. | |
Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs. | |
val isLeafNode: Boolean Check if this expression is a leaf node in expression trees. | |
val table: TableExpression the table to be inserted. | |
val updateAssignments: List<ColumnAssignmentExpression<*>> the updated column assignments while any key conflict exists. |
Extension Functions
Name | Summary |
---|---|
infix fun <T : Any> T.eq( Equal operator, translated to | |
infix fun <T : Any> T.neq( Not-equal operator, translated to | |
infix fun <T : Any> T.notEq( Not-equal operator, translated to |