adding automatic rule feature.
This commit is contained in:
@@ -77,3 +77,10 @@
|
||||
(->>
|
||||
(d/pull (d/db (d/connect uri)) default-read id)
|
||||
(<-datomic)))
|
||||
|
||||
(defn get-all []
|
||||
(mapv first
|
||||
(d/query {:query {:find [(list 'pull '?e default-read )]
|
||||
:in ['$]
|
||||
:where ['[?e :transaction-rule/description]]}
|
||||
:args [(d/db (d/connect uri))]})))
|
||||
|
||||
Reference in New Issue
Block a user