(config & [opts])Returns the config for the page views app.
Returns the config for the page views app.
(match-route url)Returns the matching route for url, or nil.
Returns the matching route for `url`, or nil.
(page-views & [opts])(save-route-total! {:keys [db] :as app} {:keys [route] :as key} total)Save the page view to the database.
Save the page view to the database.
(save-route-total-table! {:keys [db] :as app} {:keys [route] :as key} total)Save the page view to the database.
Save the page view to the database.
(save-route-totals! app route-totals)Save the page view to the database.
Save the page view to the database.
(save-route-viewer-total! {:keys [db] :as app} key total)Save the page view to the database.
Save the page view to the database.
(save-route-viewer-total-table! {:keys [db] :as app}
{:keys [route] :as key}
total)Save the page view to the database.
Save the page view to the database.
(save-route-viewer-totals! app route-viewer-totals)Save the page view to the database.
Save the page view to the database.
(save-url-total! {:keys [db] :as app} url total)Save the page view to the database.
Save the page view to the database.
(save-url-totals! app url-totals)Save the page view to the database.
Save the page view to the database.
(save-url-viewer-total! {:keys [db] :as app} url total)Save the page view by user to the database.
Save the page view by user to the database.
(save-url-viewer-totals! app url-viewer-totals)Save the page view to the database.
Save the page view to the database.
(strip-url url)Strip the query params from url.
Strip the query params from `url`.
(url-total-key [key v])Returns the key for the total page counts.
Returns the key for the total page counts.
(url-viewer-total-key [key {:keys [url user-id]}])Returns the key for the total page counts per user.
Returns the key for the total page counts per user.
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 |