fix cljs for #419
This commit is contained in:
parent
99e955f420
commit
2cba8bc3d7
2 changed files with 2 additions and 2 deletions
|
|
@ -267,7 +267,7 @@
|
||||||
(extend-protocol p/InlineValue
|
(extend-protocol p/InlineValue
|
||||||
nil
|
nil
|
||||||
(sqlize [_] "NULL")
|
(sqlize [_] "NULL")
|
||||||
String
|
#?(:clj String :cljs js/String)
|
||||||
(sqlize [x] (str \' (str/replace x "'" "''") \'))
|
(sqlize [x] (str \' (str/replace x "'" "''") \'))
|
||||||
#?(:clj clojure.lang.Keyword :cljs Keyword)
|
#?(:clj clojure.lang.Keyword :cljs Keyword)
|
||||||
(sqlize [x] (sql-kw x))
|
(sqlize [x] (sql-kw x))
|
||||||
|
|
@ -278,7 +278,7 @@
|
||||||
#?@(:clj [java.util.UUID
|
#?@(:clj [java.util.UUID
|
||||||
;; issue 385: quoted UUIDs for PostgreSQL/ANSI
|
;; issue 385: quoted UUIDs for PostgreSQL/ANSI
|
||||||
(sqlize [x] (str \' x \'))])
|
(sqlize [x] (str \' x \'))])
|
||||||
Object
|
#?(:clj Object :cljs js/Object)
|
||||||
(sqlize [x] (str x)))
|
(sqlize [x] (str x)))
|
||||||
|
|
||||||
(defn- sqlize-value [x] (p/sqlize x))
|
(defn- sqlize-value [x] (p/sqlize x))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue