endTransaction

open fun endTransaction(successful: Boolean): <Error class: unknown class>

Ends the current transaction with a commit if successful is true or a rollback if not.

Sets the current transaction to the enclosing transaction if any exists, even though this currently has no real meaning because MySQL does not support nesting transactions.