Functions for manipulating and rewriting raql expressions
Functions for manipulating and rewriting raql expressions
(apply-views relname->expr raql)
Rewrites a raql expression by replacing relation expressions
like [relation :album-with-long-tracks]
with a a raql expression
provided by the relname->expr
arg.
relname->expr
can be a map or a function. If a relname shouldn't be
rewritten, nil
must be returned.
E.g. {:album-with-long-tracks some-raql-expression}
.
Rewrites a raql expression by replacing relation expressions like `[relation :album-with-long-tracks]` with a a raql expression provided by the `relname->expr` arg. `relname->expr` can be a map or a function. If a relname shouldn't be rewritten, `nil` must be returned. E.g. `{:album-with-long-tracks some-raql-expression}`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close