returning
open fun returning(mainSql: String, returning: List<Expression<*>>, transaction: Transaction): String
Returns the SQL command that performs an insert, update, or delete, and also returns data from any modified rows.
Note: This operation is not supported by all vendors, please check the documentation.
Parameters
mainSql
SQL string representing the underlying statement before appending a RETURNING clause.
returning
Columns and expressions to include in the returned result set.
transaction
Transaction where the operation is executed.