deleteReturning
Represents the SQL statement that deletes rows in a table and returns specified data from the deleted rows.
Return
A ReturningStatement that will be executed once iterated over, providing ResultRows containing the specified expressions mapped to their resulting data.
Parameters
Columns and expressions to include in the returned data. This defaults to all columns in the table.
Condition that determines which rows to delete.
Samples
org.jetbrains.exposed.v1.r2dbc.sql.tests.shared.dml.ReturningTests.testDeleteReturningRepresents the SQL statement that deletes all rows in a table and returns specified data from the deleted rows.
Return
A ReturningStatement that will be executed once iterated over, providing ResultRows containing the specified expressions mapped to their resulting data.
Parameters
Columns and expressions to include in the returned data. This defaults to all columns in the table.