(add-attr-index ctx coll attributes)
add an attribute index for attributes :attributes dynamically to a context [ctx] on behalf of collection :coll
add an attribute index for attributes :attributes dynamically to a context [ctx] on behalf of collection :coll
(add-collection ctx coll)
adds a collection with spec to the context [ctx]. returns the collection itself. Don't forget to call start on the respective evictor channel
adds a collection with spec to the context [ctx]. returns the collection itself. Don't forget to call start on the respective evictor channel
(add-ric ctx ric)
add a referential integrity constraint dynamically to a context [ctx]
add a referential integrity constraint dynamically to a context [ctx]
(delete-collection ctx coll)
removes a collection with name [coll]. All RICs of referencing colls will be deleted. All referencing colls are returned.
removes a collection with name [coll]. All RICs of referencing colls will be deleted. All referencing colls are returned.
(dependency-order [colls & _])
returns a list of order names ordered by referential integrity constraints. So to say, if colls contains two collections a,b where a contains a referrer integrity constraint to b then a comes before b in the result.
returns a list of order names ordered by referential integrity constraints. So to say, if colls contains two collections a,b where a contains a referrer integrity constraint to b then a comes before b in the result.
(referential-integrity-constraint-factory meta-model)
(remove-attr-index ctx coll attributes)
removes all referential integrity constraints from the context [ctx] that refer the target collection [target] from the source collection [source]. The [foreign-key] within the source collection all the respective RICs need to match
removes all referential integrity constraints from the context [ctx] that refer the target collection [target] from the source collection [source]. The [foreign-key] within the source collection all the respective RICs need to match
(remove-ric ctx source target foreign-key)
removes all referential integrity constraints from the context [ctx] that refer the target collection [target] from the source collection [source]. The [foreign-key] within the source collection all the respective RICs need to match
removes all referential integrity constraints from the context [ctx] that refer the target collection [target] from the source collection [source]. The [foreign-key] within the source collection all the respective RICs need to match
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close