batchReplace
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.
Note: This operation is not supported by all vendors, please check the documentation.
Parameters
Collection of values to use in replace.
Specifies whether newly generated values (for example, auto-incremented IDs) should be returned. See Batch Insert for more details.
Samples
org.jetbrains.exposed.sql.tests.shared.dml.ReplaceTests.testBatchReplace01Represents 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.
Note: This operation is not supported by all vendors, please check the documentation.
Parameters
Sequence of values to use in replace.
Specifies whether newly generated values (for example, auto-incremented IDs) should be returned. See Batch Insert for more details.