InsertFromQueryExpression
data class InsertFromQueryExpression(val table: TableExpression, val columns: List<ColumnExpression<*>>, val query: QueryExpression, val isLeafNode: Boolean = false, val extraProperties: Map<String, Any> = emptyMap()) : SqlExpression(source)
Insert-from-query expression, e.g. insert into tmp(num) select 1 from dual
.
Constructors
Link copied to clipboard
constructor(table: TableExpression, columns: List<ColumnExpression<*>>, query: QueryExpression, isLeafNode: Boolean = false, extraProperties: Map<String, Any> = emptyMap())
Properties
Link copied to clipboard
the columns to be inserted.
Link copied to clipboard
Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs.
Link copied to clipboard
Check if this expression is a leaf node in expression trees.
Link copied to clipboard
the query expression.
Link copied to clipboard
the table to be inserted.