ReplaceSelectStatement
open class ReplaceSelectStatement(val columns: List<Column<*>>, val selectQuery: AbstractQuery<*>) : InsertSelectStatement
Represents the SQL statement that uses data retrieved from a selectQuery to either insert a new row into a table, or, if insertion would violate a unique constraint, first delete the existing row before inserting a new row.
Parameters
columns
Columns to either insert values into or delete values from then insert into.
selectQuery
Source SELECT query that provides the values to insert.