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
|
||||
nil
|
||||
(sqlize [_] "NULL")
|
||||
String
|
||||
#?(:clj String :cljs js/String)
|
||||
(sqlize [x] (str \' (str/replace x "'" "''") \'))
|
||||
#?(:clj clojure.lang.Keyword :cljs Keyword)
|
||||
(sqlize [x] (sql-kw x))
|
||||
|
|
@ -278,7 +278,7 @@
|
|||
#?@(:clj [java.util.UUID
|
||||
;; issue 385: quoted UUIDs for PostgreSQL/ANSI
|
||||
(sqlize [x] (str \' x \'))])
|
||||
Object
|
||||
#?(:clj Object :cljs js/Object)
|
||||
(sqlize [x] (str x)))
|
||||
|
||||
(defn- sqlize-value [x] (p/sqlize x))
|
||||
|
|
|
|||
Loading…
Reference in a new issue