Skip to content

Commit dae3935

Browse files
committed
aligned tarnsactions better with the other API Facts
1 parent 28360f0 commit dae3935

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/transactions.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import TabItem from '@theme/TabItem';
2020

2121
## How do I use transactions in ObjectBox?
2222

23+
24+
**Answer:**
2325
* Use store.runInTx { ... } (or: store.runInTransaction { ... } or store.write_tx() depending on language binding; see below) to execute multiple operations atomically.
2426
* All operations inside the "running transaction) block will either all succeed (commit) or all fail (rollback).
2527

0 commit comments

Comments
 (0)