Add missed file
This commit is contained in:
parent
f391330f58
commit
0f3f06c19a
|
@ -0,0 +1,10 @@
|
|||
(ns commiteth.db.usage-metrics
|
||||
(:require [commiteth.db.core :refer [*db*] :as db]
|
||||
[clojure.java.jdbc :as jdbc]
|
||||
[clojure.tools.logging :as log]))
|
||||
|
||||
(defn usage-metrics-by-day
|
||||
([] (usage-metrics-by-day 30))
|
||||
([limit-days]
|
||||
(jdbc/with-db-connection [con-db *db*]
|
||||
(db/usage-metrics-by-day {:limit_days limit-days}))))
|
Loading…
Reference in New Issue