logging.
This commit is contained in:
@@ -285,5 +285,10 @@
|
||||
{:db/ident :square-location/client-location
|
||||
:db/doc "The client location that this location should match to. e.g. WH"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}]]}})
|
||||
:db/cardinality :db.cardinality/one}]]}
|
||||
:add-indices {:txes [[{:db/ident :sales-order/date
|
||||
:db/index true}
|
||||
{:db/ident :sales-order/client
|
||||
:db/index true}]]
|
||||
:requires [:add-orders]}})
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
true
|
||||
(merge-query {:query {:find ['?sort-default '?e]
|
||||
:where ['[?e :sales-order/date ?sort-default]]}}))]
|
||||
(log/info "Sales query" query)
|
||||
|
||||
(cond->> query
|
||||
true (d/query)
|
||||
|
||||
Reference in New Issue
Block a user