(maybe-add-agent-report-filter qrec ast)Returns [qrec ast] after adjusting the top-level filter in the ast expression, and filters in any sub-queries to only include reports with a type of agent, if the filter doesn't already mention the report type.
Returns [qrec ast] after adjusting the top-level filter in the ast expression, and filters in any sub-queries to only include reports with a type of agent, if the filter doesn't already mention the report type.
(maybe-add-agent-report-filter-to-subqueries ast)Returns the given ast expression with the filter clauses of any subqueries adjusted to only include reports with a type of agent if the filter doesn't already mention the report type.
Returns the given ast expression with the filter clauses of any subqueries adjusted to only include reports with a type of agent if the filter doesn't already mention the report type.
(mentions-report-type? ast)Returns true if the ast expression mentions a "type" field anywhere up to, but not including subexpressions.
Returns true if the ast expression mentions a "type" field anywhere up to, but not including subexpressions.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |