Liking cljdoc? Tell your friends :D
All platforms.

fooheads.raql.rewrite

Functions for manipulating and rewriting raql expressions

Functions for manipulating and rewriting raql expressions
raw docstring

apply-viewsclj/s

(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}`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close