BatchReplaceStatement
open class BatchReplaceStatement(table: Table, val shouldReturnGeneratedValues: Boolean = true) : BatchInsertStatement
Represents the SQL statement that either batch inserts new rows into a table, or, if insertions violate unique constraints, first deletes the existing rows before inserting new rows.
Parameters
table
Table to either insert values into or delete values from then insert into.
shouldReturnGeneratedValues
Specifies whether newly generated values (for example, auto-incremented IDs) should be returned. See Batch Insert for more details.
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
Functions
Link copied to clipboard
Returns the string representation of an SQL statement.
Link copied to clipboard
Link copied to clipboard
Updates the mapping of the specified column with the value of the provided expression.