You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/transactions.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ import TabItem from '@theme/TabItem';
20
20
21
21
## How do I use transactions in ObjectBox?
22
22
23
+
24
+
**Answer:**
23
25
* Use store.runInTx { ... } (or: store.runInTransaction { ... } or store.write_tx() depending on language binding; see below) to execute multiple operations atomically.
24
26
* All operations inside the "running transaction) block will either all succeed (commit) or all fail (rollback).
0 commit comments