Liking cljdoc? Tell your friends :D

db.schema


-mainclj

(-main & args)
source

create-enum-tableclj

(create-enum-table vname enum-name names)

Helper function to create a table that acts a an enum.

Helper function to create a table that acts a an enum.
sourceraw docstring

create-tableclj

(create-table vname table-name defs)

Helper function to make a 'CREATE TABLE' migration. The upgrade SQL is a 'CREATE TABLE <table-name> ( <defs joined on ','> ). The downgrade SQL is a 'DROP TABLE IF EXISTS'

Helper function to make a 'CREATE TABLE' migration.  The upgrade
SQL is a 'CREATE TABLE <table-name> ( <defs joined on ','> ).  The
downgrade SQL is a 'DROP TABLE IF EXISTS'
sourceraw docstring

create-viewclj

(create-view vname view query)

Helper function to make a 'CREATE VIEW' migration. This can save a little typing.

Helper function to make a 'CREATE VIEW' migration.  This can save a
little typing.
sourceraw docstring

insert-enum-tableclj

(insert-enum-table vname enum-name names)

Helper function to add new values to an enum.

Helper function to add new values to an enum.
sourceraw docstring

Migrationclj

source

run-migrationsclj

(run-migrations conn action migrations)
source

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

× close