ReturningStatement
open class ReturningStatement(val table: Table, val returningExpressions: List<Expression<*>>, val mainStatement: Statement<*>) : Statement<ResultApi>
Represents the underlying SQL mainStatement that returns a result with data from any modified rows.
Parameters
table
Table to perform the main statement on and return results from.
returningExpressions
Columns or expressions to include in the returned result.
mainStatement
The statement to append the RETURNING clause to. This may be an insert, update, or delete statement.