summaryrefslogtreecommitdiff
path: root/src/clojure_sql/query.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure_sql/query.clj')
-rw-r--r--src/clojure_sql/query.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clojure_sql/query.clj b/src/clojure_sql/query.clj
index 00eb212..218ae7a 100644
--- a/src/clojure_sql/query.clj
+++ b/src/clojure_sql/query.clj
@@ -5,9 +5,9 @@
(alter-var-root #'*query-deref-behaviour* (constantly f))
nil)
-(defrecord ^:private Query []
+(defrecord ^:private Query []
clojure.lang.IDeref
(deref [this] (*query-deref-behaviour* this)))
-(def query? (partial instance? (class (->Query))))
+(def query? (partial instance? Query))