(handle-additional-options connection-spec)
(handle-additional-options connection-spec details & {:keys [seperator-style]})
If DETAILS contains an :addtional-options
key, append those options to the connection string in CONNECTION-SPEC.
(Some drivers like MySQL provide this details field to allow special behavior where needed).
Optionally specify SEPERATOR-STYLE, which defaults to :url
(e.g. ?a=1&b=2
). You may instead set it to
:semicolon
or :comma
, which will separate different options with semicolons or commas instead (e.g. ;a=1;b=2
). (While most drivers
require the former style, some require semicolon or even comma.)
If DETAILS contains an `:addtional-options` key, append those options to the connection string in CONNECTION-SPEC. (Some drivers like MySQL provide this details field to allow special behavior where needed). Optionally specify SEPERATOR-STYLE, which defaults to `:url` (e.g. `?a=1&b=2`). You may instead set it to `:semicolon` or `:comma`, which will separate different options with semicolons or commas instead (e.g. `;a=1;b=2`). (While most drivers require the former style, some require semicolon or even comma.)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close