InsertExpression

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

Insert expression, represents the insert statement in SQL.

Constructors

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

Properties

Link copied to clipboard

column assignments of the insert 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 inserted.