vendors can be updated through datomic.
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
(map (fn [ba]
|
||||
(update ba :bank-account/type :db/ident ))
|
||||
bas)))))))
|
||||
|
||||
(defn get-by-id [id]
|
||||
(->>
|
||||
(d/query (-> {:query {:find ['(pull ?e [*])]
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
:in $ ?e
|
||||
:where [?e]]
|
||||
(d/db (d/connect uri))
|
||||
(Long/parseLong id))
|
||||
(if (string? id)
|
||||
(Long/parseLong id)
|
||||
id))
|
||||
(map first)
|
||||
(first)
|
||||
#_(map (fn [c]
|
||||
|
||||
Reference in New Issue
Block a user