From 05cc39a41c5ef419a5f01babd5cded195d0b91a2 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Tue, 2 Apr 2019 11:25:15 -0700 Subject: [PATCH] Revert #240 but keep the dependency updates --- CHANGES.md | 1 - src/honeysql/format.cljc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 300026e..e96801c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,5 @@ ## 0.9.5 in progress -* `:%call.arg` syntax extended to support more than one argument: `%call.first.second` Fix #240. * `format-predicate` now accepts `parameterizer` as a named argument (default `:jdbc`) to match `format`. PR #234. (@glittershark) ## 0.9.4 diff --git a/src/honeysql/format.cljc b/src/honeysql/format.cljc index 449879a..bb89012 100644 --- a/src/honeysql/format.cljc +++ b/src/honeysql/format.cljc @@ -388,7 +388,7 @@ (to-sql [x] (let [s (name x)] (case (.charAt s 0) - \% (let [call-args (string/split (subs s 1) #"\.")] + \% (let [call-args (string/split (subs s 1) #"\." 2)] (to-sql (apply call (map keyword call-args)))) \? (to-sql (param (keyword (subs s 1)))) (quote-identifier x))))