Skip to content

Commit 2243037

Browse files
Add note on transactions being stateful
1 parent 7f1320b commit 2243037

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manual/modules/ROOT/pages/queries/transactions.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ TypeDB transactions come in 3 flavors: *read*, *write*, and *schema* transaction
77

88
TypeDB transactions provide *ACID guarantees* up to snapshot isolation.
99

10+
All transactions that can do writes in TypeDB are __stateful__: queries that mutate the schema or data
11+
have their changes buffered and are accessible to following queries in the transaction. After a commit,
12+
the changes are merged into the global database state and made accessibly to new transactions.
13+
1014
== Read transactions
1115

1216
Read transactions can execute only read queries, and will error when provided data update queries or schema mutation queries.

0 commit comments

Comments
 (0)