diff --git a/src/next/jdbc/default_options.clj b/src/next/jdbc/default_options.clj index 726aad5..89f9d82 100644 --- a/src/next/jdbc/default_options.clj +++ b/src/next/jdbc/default_options.clj @@ -1,9 +1,11 @@ -;; copyright (c) 2020 Sean Corfield, all rights reserved +;; copyright (c) 2020-2021 Sean Corfield, all rights reserved (ns ^:no-doc next.jdbc.default-options "Implementation of default options logic." (:require [next.jdbc.protocols :as p])) +(set! *warn-on-reflection* true) + (defrecord DefaultOptions [connectable options]) (extend-protocol p/Sourceable diff --git a/src/next/jdbc/plan.clj b/src/next/jdbc/plan.clj index d4c903a..152bed9 100644 --- a/src/next/jdbc/plan.clj +++ b/src/next/jdbc/plan.clj @@ -1,10 +1,12 @@ -;; copyright (c) 2020 Sean Corfield, all rights reserved +;; copyright (c) 2020-2021 Sean Corfield, all rights reserved (ns next.jdbc.plan "Some helper functions that make common operations with `next.jdbc/plan` much easier." (:require [next.jdbc :as jdbc])) +(set! *warn-on-reflection* true) + (defn select-one! "Execute the SQL and params using `next.jdbc/plan` and return just the selected columns from just the first row.