(add-auto-increment column-desc column-map)
(add-default column-desc column-map)
(add-length column-desc column-map)
(add-not-null column-desc column-map)
(add-precision column-desc column-map)
(add-primary-key column-desc column-map)
(add-scale column-desc column-map)
(auto-increment-mod column-spec)
Returns the primary key spec vector from the given mods map.
Returns the primary key spec vector from the given mods map.
(backquote symbol-name)
Returns the given string surrounded by backquotes.
Returns the given string surrounded by backquotes.
(column-name column)
Returns the given key or string as valid column name. Basically turns any keyword into a string, and replaces dashes with underscores.
Returns the given key or string as valid column name. Basically turns any keyword into a string, and replaces dashes with underscores.
(column-name-key column-name)
Returns the given valid column name as a keyword. Basically turns any string into a keyword, and replaces underscores with dashes.
Returns the given valid column name as a keyword. Basically turns any string into a keyword, and replaces underscores with dashes.
(column-spec-vec column-spec)
(db-symbol symbol-name)
Converts the given symbol-name which can be a string or keyword, and converts it to a proper database symbol.
Converts the given symbol-name which can be a string or keyword, and converts it to a proper database symbol.
(db-type column-spec)
Returns the type for the given column spec.
Returns the type for the given column spec.
(integer-db-type column-spec)
(is-date-column column-type)
(is-date-time-column column-type)
(is-decimal-column column-type)
(is-integer-column column-type)
(is-string-column column-type)
(is-text-column column-type)
(is-time-column column-type)
(not-null-mod column-spec)
Returns the not null spec vector from the given mods map.
Returns the not null spec vector from the given mods map.
(parse-column column-desc)
(parse-integer-length column-type)
(parse-length column-type)
(parse-length-with-regex column-type regex)
(parse-length-with-regex column-type regex length-group)
(parse-precision column-type)
(parse-scale column-type)
(parse-string-length column-type)
(parse-type column-type)
(primary-key-mod column-spec)
Returns the primary key spec vector from the given mods map.
Returns the primary key spec vector from the given mods map.
(spec-column-name column-spec)
Returns the column name from the given columns spec
Returns the column name from the given columns spec
(spec-str spec)
(type-vec column-spec)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close