reorder dialects
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
c9867097e8
commit
2f159ac912
1 changed files with 5 additions and 2 deletions
|
|
@ -114,10 +114,13 @@
|
||||||
:mysql {:quote #(strop \` % \`)
|
:mysql {:quote #(strop \` % \`)
|
||||||
:clause-order-fn
|
:clause-order-fn
|
||||||
#(add-clause-before % :set :where)}
|
#(add-clause-before % :set :where)}
|
||||||
:oracle {:quote #(strop \" % \") :as false}
|
|
||||||
:nrql {:quote #(strop \` % \`)
|
:nrql {:quote #(strop \` % \`)
|
||||||
:col-fn #(if (keyword? %) (subs (str %) 1) (str %))
|
: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
|
; should become defonce
|
||||||
(def ^:private default-dialect (atom (:ansi @dialects)))
|
(def ^:private default-dialect (atom (:ansi @dialects)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue