workflo.macros.query.om-util
dispatch-key
(dispatch-key expr)
Returns the key the results for a query expression will be stored under in the query result map. E.g. the query {:foo [:bar :baz]}
would store its results under :foo
, whereas the query {:bar [:foo]}
would store its results under :bar
.
expr-type
(expr-type expr)
Returns the type of the expression as a keyword (e.g. :keyword, :ident, :join, :param).