calculates profit and loss.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
(keyword "transaction" sort-by)))
|
||||
|
||||
(defn raw-graphql-ids [db args]
|
||||
(println args)
|
||||
|
||||
(let [query (cond-> {:query {:find []
|
||||
:in ['$ ]
|
||||
:where []}
|
||||
@@ -67,7 +67,6 @@
|
||||
(defn get-graphql [args]
|
||||
(let [db (d/db (d/connect uri))
|
||||
{ids-to-retrieve :ids matching-count :count} (raw-graphql-ids db args)]
|
||||
|
||||
[(->> (graphql-results ids-to-retrieve db args))
|
||||
matching-count]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user