Liking cljdoc? Tell your friends :D

lambdaroyal.memory.core.context


add-attr-indexclj

(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
sourceraw docstring

add-collectionclj

(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
sourceraw docstring

add-ricclj

(add-ric ctx ric)

add a referential integrity constraint dynamically to a context [ctx]

add a referential integrity constraint dynamically to a context [ctx]
sourceraw docstring

context-verboseclj

source

create-contextclj

(create-context meta-model)
source

delete-collectionclj

(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.
sourceraw docstring

dependency-model-orderedclj

(dependency-model-ordered colls)
source

dependency-orderclj

(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.
sourceraw docstring

referenced-constraint-nameclj

(referenced-constraint-name referencing-coll referencing-key x)
source

referential-integrity-constraint-factoryclj

(referential-integrity-constraint-factory meta-model)
source

referrer-constraint-nameclj

(referrer-constraint-name foreign-coll foreign-key x)
source

remove-attr-indexclj

(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
sourceraw docstring

remove-ricclj

(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
sourceraw docstring

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

× close