Liking cljdoc? Tell your friends :D
Clojure only.

wagoe.audience.core.compiler

Compile audience segment definitions into execution plans. Partitions filters into SQL-evaluable and predicate-evaluable phases.

Compile audience segment definitions into execution plans.
Partitions filters into SQL-evaluable and predicate-evaluable phases.
raw docstring

compile-segmentclj

(compile-segment definition)
(compile-segment definition {:keys [now]})

Compile a segment definition into an execution plan. Returns {:sql-clauses [...] :predicates [...]} Accepts optional :now (java.time.LocalDate) for predicate date comparisons. If not provided, predicates that need dates will receive :now from the filter map.

Compile a segment definition into an execution plan.
Returns {:sql-clauses [...] :predicates [...]}
Accepts optional :now (java.time.LocalDate) for predicate date comparisons.
If not provided, predicates that need dates will receive :now from the filter map.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close