vendors can be updated through datomic.

This commit is contained in:
Bryce Covert
2018-11-09 13:30:27 -08:00
parent de8563a60b
commit 8ea4ea0c73
12 changed files with 141 additions and 276 deletions

View File

@@ -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 [*])]

View File

@@ -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]