Clarify d/<connect.
This commit is contained in:
parent
cf96bf1888
commit
9f97cc8f2d
1 changed files with 3 additions and 8 deletions
|
@ -20,14 +20,9 @@
|
||||||
(defn <connect [uri]
|
(defn <connect [uri]
|
||||||
;; Eventually, URI. For now, just a plain path (no file://).
|
;; Eventually, URI. For now, just a plain path (no file://).
|
||||||
(go-pair
|
(go-pair
|
||||||
(->
|
(let [conn (<? (sqlite/<sqlite-connection uri))
|
||||||
(sqlite/<sqlite-connection uri)
|
db (<? (db-factory/<db-with-sqlite-connection conn))]
|
||||||
(<?)
|
(transact/connection-with-db db))))
|
||||||
|
|
||||||
(db-factory/<db-with-sqlite-connection)
|
|
||||||
(<?)
|
|
||||||
|
|
||||||
(transact/connection-with-db))))
|
|
||||||
|
|
||||||
(def <transact! transact/<transact!)
|
(def <transact! transact/<transact!)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue