Fill session with fact using the supplied object
Fill session with fact using the supplied object
(add-new-columns-to-view view add-table-cols-effect)
(columns-in-primary-key? view remove-cols-intent)
(fire-rules session)
(insert session & facts)
(intersect-columns table add-columns)
(intersect-columns* table remove-cols)
(make-session)
(make-session opts)
Creates a session.
Supported options:
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.
(remove-columns-from-view view remove-table-cols-intent)
(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]].
(summarize session)
Returns a map of {:effects ... :problems ...} for given session.
Returns a map of {:effects ... :problems ...} for given session.
(summarize-or-throw session)
Returns a map containing :effects. Throws when found any problems.
Returns a map containing :effects. Throws when found any problems.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close