Liking cljdoc? Tell your friends :D

automigrate.util.db

Utils for working with database.

Utils for working with database.
raw docstring

create-migrations-tableclj

(create-migrations-table db migrations-table)

Create table to keep migrations history.

Create table to keep migrations history.
raw docstring

db-connclj

(db-conn jdbc-url)

Return db connection for performing migration.

Return db connection for performing migration.
raw docstring

exec!clj

(exec! db query)

Send query to db.

Send query to db.
raw docstring

exec-raw!clj

(exec-raw! db query)

Send raw sql query to db.

Send raw sql query to db.
raw docstring

fmtclj

(fmt data)
(fmt data dialect)

Format data to sql query with configured dialect.

Format data to sql query with configured dialect.
raw docstring

kw->rawclj

(kw->raw kw)

MIGRATIONS-TABLEclj

Default migrations table name.

Default migrations table name.
raw docstring

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

× close