reorder dialects

Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
Sean Corfield 2024-02-26 22:08:10 -08:00
parent c9867097e8
commit 2f159ac912
No known key found for this signature in database

View file

@ -114,10 +114,13 @@
:mysql {:quote #(strop \` % \`)
:clause-order-fn
#(add-clause-before % :set :where)}
:oracle {:quote #(strop \" % \") :as false}
:nrql {:quote #(strop \` % \`)
:col-fn #(if (keyword? %) (subs (str %) 1) (str %))
:parts-fn vector}})))
:parts-fn vector}
:oracle {:quote #(strop \" % \") :as false}
:xtdb {:quote #(strop \" % \")
:col-fn #(if (keyword? %) (subs (str %) 1) (str %))
:parts-fn #(str/split % #"\.")}})))
; should become defonce
(def ^:private default-dialect (atom (:ansi @dialects)))