Liking cljdoc? Tell your friends :D
Clojure only.

jeesql.statement-parser


parameterclj

Regular expression to split statement into three parts: before the first parameter, the parameter name and the rest of the statement. A parameter always starts with a single colon and may contain alphanumerics as well as '-', '_' and '?' characters.

Regular expression to split statement into three parts: before the first parameter,
the parameter name and the rest of the statement. A parameter always starts with a single colon and
may contain alphanumerics as well as '-', '_' and '?' characters.
raw docstring

tokenizecljmultimethod

Turn a raw SQL statement into a vector of SQL-substrings interspersed with clojure symbols for the query's parameters.

For example, (parse-statement "SELECT * FROM person WHERE :age > age") becomes: ["SELECT * FROM person WHERE " age " > age"]

Turn a raw SQL statement into a vector of SQL-substrings
interspersed with clojure symbols for the query's parameters.

For example, `(parse-statement "SELECT * FROM person WHERE :age > age")`
becomes: `["SELECT * FROM person WHERE " age " > age"]`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close