Skip to content

Commit e84ab45

Browse files
committed
Update README
1 parent 6a0b1dc commit e84ab45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ For the programmer, a `xitdb` database is like a Clojure atom.
5959
(get-in @db [:users "alice" :age])
6060
;; => 31
6161
```
62-
One important distinction to the Clojure atom is that inside a transaction (eg. a `swap!`),
63-
'change' operations on the received db argument are mutating it.
62+
One important distinction from the Clojure atom is that inside a transaction (eg. a `swap!`),
63+
'change' operations on the received `db` argument are mutating the underlying data structure.
6464

6565
```clojure
6666
(with-db [db (xdb/xit-db :memory)]

0 commit comments

Comments
 (0)