ColumnAssignmentExpression

data class ColumnAssignmentExpression<T : Any>(val column: ColumnExpression<T>, val expression: ScalarExpression<T>, val isLeafNode: Boolean = false, val extraProperties: Map<String, Any> = emptyMap()) : SqlExpression(source)

Column assignment expression, represents a column assignment for insert or update statements.

Constructors

Link copied to clipboard
constructor(column: ColumnExpression<T>, expression: ScalarExpression<T>, isLeafNode: Boolean = false, extraProperties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard

the left value of the assignment.

Link copied to clipboard

the right value of the assignment, might be an ArgumentExpression or other scalar expressions.

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.