fix string for cljs too

This commit is contained in:
Sean Corfield 2022-08-06 22:29:17 -07:00
parent c10a97e1ec
commit d31600d2c0

View file

@ -267,7 +267,7 @@
(extend-protocol p/InlineValue (extend-protocol p/InlineValue
nil nil
(sqlize [_] "NULL") (sqlize [_] "NULL")
#?(:clj String :cljs js/String) #?(:clj String :cljs 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))