From 740e1abaafe265a071b6b34b5c44ee2faa610977 Mon Sep 17 00:00:00 2001 From: Gerred Dillon Date: Sat, 14 Sep 2019 15:51:46 -0400 Subject: [PATCH] Add unstrument function to specs Signed-off-by: Gerred Dillon --- src/next/jdbc/specs.clj | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/next/jdbc/specs.clj b/src/next/jdbc/specs.clj index 1b85851..dbbb057 100644 --- a/src/next/jdbc/specs.clj +++ b/src/next/jdbc/specs.clj @@ -202,3 +202,23 @@ `sql/get-by-id `sql/update! `sql/delete!])) + +(defn unstrument [] + (st/unstrument [`jdbc/get-datasource + `jdbc/get-connection + `jdbc/prepare + `jdbc/plan + `jdbc/execute! + `jdbc/execute-one! + `jdbc/transact + `jdbc/with-transaction + `connection/->pool + `prepare/execute-batch! + `prepare/set-parameters + `sql/insert! + `sql/insert-multi! + `sql/query + `sql/find-by-keys + `sql/get-by-id + `sql/update! + `sql/delete!]))