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.
sourceraw docstring

db-connclj

(db-conn jdbc-url)

Return db connection for performing migration.

Return db connection for performing migration.
sourceraw docstring

exec!clj

(exec! db query)

Send query to db.

Send query to db.
sourceraw docstring

exec-raw!clj

(exec-raw! db query)

Send raw sql query to db.

Send raw sql query to db.
sourceraw docstring

fmtclj

(fmt data)
(fmt data dialect)

Format data to sql query with configured dialect.

Format data to sql query with configured dialect.
sourceraw docstring

kw->rawclj

(kw->raw kw)
source

MIGRATIONS-TABLEclj

Default migrations table name.

Default migrations table name.
sourceraw docstring

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

× close