Liking cljdoc? Tell your friends :D

kasandra.rules


-session-fromcljmultimethod

Fill session with fact using the supplied object

Fill session with fact using the supplied object
raw docstring

add-column-to-tableclj


add-columns-to-secondary-tablesclj


add-new-columns-to-viewclj

(add-new-columns-to-view view add-table-cols-effect)

cascade-add-column-from-table-to-viewclj


cascade-drop-column-from-table-to-viewclj


cascade-table-drop-to-secondary-tablesclj


cascade-table-drop-to-viewsclj


ColumnExistsclj


columns-in-primary-key?clj

(columns-in-primary-key? view remove-cols-intent)

ColumnsInDerivedTableclj


ColumnsInPrimaryKeyclj


ColumnsNotPresentclj


create-tableclj


create-viewclj


create-viewsclj


drop-column-from-tableclj


drop-tableclj


drop-viewsclj


effectsclj


fire-rulesclj

(fire-rules session)

insertclj

(insert session & facts)

intentsclj


intersect-columnsclj

(intersect-columns table add-columns)

intersect-columns*clj

(intersect-columns* table remove-cols)

make-sessionclj

(make-session)
(make-session opts)

Creates a session.

Supported options:

  • :from - will be used to populate session with facts.

Implementation to populate session with information from :kasandra.schema/schema-info is provided.

Creates a session.

Supported options:
- :from - will be used to populate session with facts.

Implementation to populate session with information from 
:kasandra.schema/schema-info is provided.
raw docstring

order-afterclj


order-beforeclj


Problemcljprotocol


problem-when-adding-column-clashing-nameclj


problem-when-dropping-columns-in-view-primary-keyclj


problem-when-dropping-nonexistent-columnsclj


problem-when-removing-columns-from-lookup+unique-key-tablesclj


problemsclj


RecreateViewclj


relationsclj


remove-columns-from-secondary-tablesclj


remove-columns-from-viewclj

(remove-columns-from-view view remove-table-cols-intent)

run-session-forclj

(run-session-for schema-info intent)

Runs rules in a new session for given schema-info and intent. Returns a summary containing :effects and :problems.

Provided as a convinience, when you don't need access to the underlying session.

See summarize.

Runs rules in a new session for given schema-info and intent.
Returns a summary containing :effects and :problems.

Provided as a convinience, when you don't need access to the
underlying session.

See [[summarize]].
raw docstring

summarizeclj

(summarize session)

Returns a map of {:effects ... :problems ...} for given session.

Returns a map of {:effects ... :problems ...} for given session.
raw docstring

summarize-or-throwclj

(summarize-or-throw session)

Returns a map containing :effects. Throws when found any problems.

Returns a map containing :effects. Throws when found any problems.
raw docstring

table-alread-existsclj


table-view-relationclj


TableAlreadyExistsclj


view-already-existsclj


ViewAlreadyExistsclj


views-of-tableclj

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

× close