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: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The connection pool is closed with `close-db!`. This closes all open connections
35
35
36
36
Queries are executed with callback-based functions `query!``insert!``update!``execute!` and [`core.async`](https://github.com/clojure/core.async) channel-based functions `<query!``<insert!``<update!``<execute!`.
37
37
38
-
Channel-based functions return a channel where query result is put in vector of `[result-set exception]`.
38
+
Channel-based functions return a channel where query result or exception is put.
39
39
40
40
### execute! and query!
41
41
@@ -49,20 +49,20 @@ All other query functions delegate to `execute!`. This takes a db, a vector of s
49
49
50
50
;; async channel
51
51
(<!! (<execute! db ["select name, price from products where id = $1"1001]))
0 commit comments