toggle menu
SQLDelight
2.1.0-SNAPSHOT
common
switch theme
search in API
runtime
/
app.cash.sqldelight
/
TransactionWithReturn
Transaction
With
Return
interface
TransactionWithReturn
<
R
>
:
TransactionCallbacks
Members
Functions
after
Commit
Link copied to clipboard
abstract
fun
afterCommit
(
function
:
(
)
->
Unit
)
after
Rollback
Link copied to clipboard
abstract
fun
afterRollback
(
function
:
(
)
->
Unit
)
rollback
Link copied to clipboard
abstract
fun
rollback
(
returnValue
:
R
)
:
Nothing
Rolls back this transaction.
transaction
Link copied to clipboard
abstract
fun
<
R
>
transaction
(
body
:
TransactionWithReturn
<
R
>
.
(
)
->
R
)
:
R
Begin an inner transaction.