Returning Statement
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.
returning Expressions
Columns or expressions to include in the returned result.
main Statement
The statement to append the RETURNING clause to. This may be an insert, update, or delete statement.