(create-pool db-spec)
Creates a connection pool from a next.jdbc db-spec
Creates a connection pool from a next.jdbc db-spec
(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
(insert! db-spec table-name entity)
Inserts an entity into the table
Inserts an entity into the table
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close