UpdateExpression

data class UpdateExpression(val table: TableExpression, val assignments: List<ColumnAssignmentExpression<*>>, val where: ScalarExpression<Boolean>? = null, val isLeafNode: Boolean = false, val extraProperties: Map<String, Any> = emptyMap()) : SqlExpression(source)

Update expression, represents the update statement in SQL.

Constructors

Link copied to clipboard
constructor(table: TableExpression, assignments: List<ColumnAssignmentExpression<*>>, where: ScalarExpression<Boolean>? = null, isLeafNode: Boolean = false, extraProperties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard

column assignments of the update statement.

Link copied to clipboard
open override val extraProperties: Map<String, Any>

Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs.

Link copied to clipboard
open override val isLeafNode: Boolean = false

Check if this expression is a leaf node in expression trees.

Link copied to clipboard

the table to be updated.

Link copied to clipboard

the update condition.