Fix - as operator
Not a great workaround. May rethink depending on what other operators get added containing `-`.
This commit is contained in:
parent
b711044548
commit
4dcc44d878
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@
|
||||||
:cljs str/upper-case))
|
:cljs str/upper-case))
|
||||||
|
|
||||||
(defn sql-kw [k]
|
(defn sql-kw [k]
|
||||||
(-> k (name) (upper-case) (str/replace "-" " ")))
|
(-> k (name) (upper-case)
|
||||||
|
(as-> s (if (= "-" s) s (str/replace s "-" " ")))))
|
||||||
|
|
||||||
(defn- namespace-_ [x] (some-> (namespace x) (str/replace "-" "_")))
|
(defn- namespace-_ [x] (some-> (namespace x) (str/replace "-" "_")))
|
||||||
(defn- name-_ [x] (str/replace (name x) "-" "_"))
|
(defn- name-_ [x] (str/replace (name x) "-" "_"))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue