Liking cljdoc? Tell your friends :D

clj-liquibase.precondition

Clojure wrappers for liquibase.change.Change implementations. See also: http://www.liquibase.org/documentation/index (Available Database Refactorings)

Clojure wrappers for liquibase.change.Change implementations.
See also:
  http://www.liquibase.org/documentation/index (Available Database Refactorings)
raw docstring

changelog-prop-definedclj

(changelog-prop-defined prop value)

Change-log property defined

Change-log property defined
sourceraw docstring

changeset-executedclj

(changeset-executed file id author)

Change-set executed

Change-set executed
sourceraw docstring

column-existsclj

(column-exists schema-name table-name column-name)

Specified column exists

Specified column exists
sourceraw docstring

dbmsclj

(dbms db-type)

Check database type. Example: (dbms :mysql)

Check database type. Example:
(dbms :mysql)
sourceraw docstring

foreign-key-existsclj

(foreign-key-exists schema-name table-name key-name)

Return Precondition that asserts given Foreign key exists

Return Precondition that asserts given Foreign key exists
sourceraw docstring

index-existsclj

(index-exists schema-name table-name column-names index-name)
source

on-fail-error-valuesclj

source

on-update-sql-valuesclj

source

pc-andclj

(pc-and pc & more)

Verify that ALL immediate nested preconditions are met

Verify that ALL immediate nested preconditions are met
sourceraw docstring

pc-notclj

(pc-not pc & more)

Verify that NONE OF immediate nested preconditions is met

Verify that NONE OF immediate nested preconditions is met
sourceraw docstring

pc-orclj

(pc-or pc & more)

Verify that ANY OF immediate nested preconditions is met

Verify that ANY OF immediate nested preconditions is met
sourceraw docstring

pre-condclj

(pre-cond pre-cond-list
          &
          {:keys [on-fail on-fail-msg on-error on-error-msg on-update-sql]
           :or {on-fail nil
                on-fail-msg nil
                on-error nil
                on-error-msg nil
                on-update-sql nil}
           :as opt})

Return a PreconditionContainer that verifies that ALL immediate nested preconditions are met. Optional args: :on-fail What to do when preconditions fail; either of :halt (default), :continue, :mark-ran, :warn :on-fail-msg Custom message (string) to output when preconditions fail :on-error What to do when preconditions error; either of :halt (default), :continue, :mark-ran, :warn :on-error-msg Custom message (string) to output when preconditions fail :on-update-sql What to do in updateSQL mode; either of :run, :fail, :ignore See also: http://www.liquibase.org/documentation/preconditions

Return a PreconditionContainer that verifies that ALL immediate nested
preconditions are met.
Optional args:
  :on-fail       What to do when preconditions fail; either of
                   :halt (default), :continue, :mark-ran, :warn
  :on-fail-msg   Custom message (string) to output when preconditions fail
  :on-error      What to do when preconditions error; either of
                   :halt (default), :continue, :mark-ran, :warn
  :on-error-msg  Custom message (string) to output when preconditions fail
  :on-update-sql What to do in updateSQL mode; either of
                   :run, :fail, :ignore
See also:
  http://www.liquibase.org/documentation/preconditions
sourceraw docstring

pre-cond?clj

(pre-cond? x)

Return true if given argument is a pre-condition, false otherwise.

Return true if given argument is a pre-condition, false otherwise.
sourceraw docstring

primary-key-existsclj

(primary-key-exists schema-name table-name primary-key-name)
source

running-asclj

(running-as user-name)

Verify database user name

Verify database user name
sourceraw docstring

sequence-existsclj

(sequence-exists schema-name sequence-name)

Verify that given sequence exists

Verify that given sequence exists
sourceraw docstring

sqlclj

(sql expected sql-stmt)

SQL Check

SQL Check
sourceraw docstring

table-existsclj

(table-exists schema-name table-name)

Verify that said table exists

Verify that said table exists
sourceraw docstring

view-existsclj

(view-exists schema-name view-name)

Verify that view exists

Verify that view exists
sourceraw docstring

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

× close