InsertStatement
open class InsertStatement<Key : Any>(val table: Table, val isIgnore: Boolean = false) : UpdateBuilder<Int>
Represents the SQL statement that inserts a new row into a table.
Parameters
table
Table to insert the new row into.
isIgnore
Whether to ignore errors or not. Note isIgnore is not supported by all vendors. Please check the documentation.
Inheritors
Properties
Link copied to clipboard
The number of rows affected by the insert operation.
Link copied to clipboard
The ResultRows generated by processing the database result set retrieved after executing the statement.
Link copied to clipboard
Link copied to clipboard
The mapping of columns scheduled for change with their new values.
Functions
Link copied to clipboard
Returns the list of columns with default values that can not be taken locally. It is the columns defined with defaultExpression()
, databaseGenerated()
Link copied to clipboard
Returns the string representation of an SQL statement.
Link copied to clipboard
Updates the mapping of the specified column with the value of the provided expression.