Build
Docs
Reference
Guides
Blog
Discord
/
Bun
/
TransactionSQL
/
savepoint
M
savepoint
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
Bun
/
TransactionSQL
/
savepoint
M
savepoint
method
TransactionSQL.savepoint
savepoint
<
T
>
(
name
:
string
,
fn
:
SQLSavepointContextCallback
<
T
>
)
:
Promise
<
T
>
;
Creates a savepoint within the current transaction
savepoint
<
T
>
(
fn
:
SQLSavepointContextCallback
<
T
>
)
:
Promise
<
T
>
;