Liking cljdoc? Tell your friends :D

yuhrao.database.core


create-poolclj

(create-pool db-spec)

Creates a connection pool from a next.jdbc db-spec

Creates a connection pool from a next.jdbc db-spec
raw docstring

execute!clj

(execute! db-spec sql)

Executes a sql statement. sql can be a string or a honeysql query

Executes a sql statement.
`sql` can be a string or a honeysql query
raw docstring

insert!clj

(insert! db-spec table-name entity)

Inserts an entity into the table

Inserts an entity into the table
raw docstring

rollback-migrationcljdeprecated

(rollback-migration db migration-opts)

Rollback a migration in the migrations map. DEPRECATED USE abogoyavlensky/automigrate INSTEAD

Rollback a migration in the migrations map.
DEPRECATED USE [abogoyavlensky/automigrate](https://github.com/abogoyavlensky/automigrate) INSTEAD
raw docstring

run-migrationscljdeprecated

(run-migrations migrations)
(run-migrations migrations opts)

Run all migrations in the migrations map. DEPRECATED USE abogoyavlensky/automigrate INSTEAD

Run all migrations in the migrations map.
DEPRECATED USE [abogoyavlensky/automigrate](https://github.com/abogoyavlensky/automigrate) INSTEAD
raw docstring

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

× close