diff --git a/src/honeysql/helpers.clj b/src/honeysql/helpers.clj index 3b73108..69dde96 100644 --- a/src/honeysql/helpers.clj +++ b/src/honeysql/helpers.clj @@ -23,7 +23,11 @@ (build-clause ~kw m# args#))) ;; maintain the original arglist instead of getting ;; ([& args__6880__auto__]) - (alter-meta! assoc :arglists '(~arglist)))))) + (alter-meta! + assoc + :arglists + '(~(into [] (rest arglist)) + ~(into [(first arglist)] (rest arglist)))))))) (defn collify [x] (if (coll? x) x [x]))