(munge-result-rows summarize_by _ _)Helper function to transform the event count subject data from the raw format that we get back from the database into the more structured format that the API specifies.
Helper function to transform the event count subject data from the raw format that we get back from the database into the more structured format that the API specifies.
(query->sql version query query-options)(query->sql will-union?
version
query
{:keys [summarize_by counts_filter count_by] :as query-options})Convert an event-counts query and a value to summarize_by into a SQL string.
A second counts-filter query may be provided to further reduce the results, and
the value to count_by may also be specified (defaults to resource).
Convert an event-counts `query` and a value to `summarize_by` into a SQL string. A second `counts-filter` query may be provided to further reduce the results, and the value to `count_by` may also be specified (defaults to `resource`).
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 |