diff options
Diffstat (limited to 'src/clojure_sql')
-rw-r--r-- | src/clojure_sql/compiler.clj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clojure_sql/compiler.clj b/src/clojure_sql/compiler.clj index c7f907f..b35abce 100644 --- a/src/clojure_sql/compiler.clj +++ b/src/clojure_sql/compiler.clj @@ -93,7 +93,8 @@ (no-args-operator-error (name (first ex)))) 1 (if (unary? op-name) (do-m compiled-op <- op - (return (str compiled-op (first vals))))) + (return (str compiled-op (first vals)))) + (return (first vals))) (return (string/join " " vals)))) unary? (do (assert (= num-args 1) (str "Unary operator `" (first ex) "` must take one argument")) (do-m :let [exprs (compile-exprs ex)] |