Liking cljdoc? Tell your friends :D

lambdaconnect-model.scoping


add-include-in-push-permissionclj

(add-include-in-push-permission edn)
source

execute-queryclj

(execute-query config tag query)
source

execute-query-genericclj

(execute-query-generic config tag query)
source

execute-query-splitclj

(execute-query-split config tag query)
source

read-pull-scoping-ednclj

(read-pull-scoping-edn path entities-by-name)
source

reduce-entitiesclj

(reduce-entities scoped-entities)

Takes what 'scope' produces and aggregates all the entity types (so :NOUser.me and :NOUser.peer become :NOUser with unified ids)

Takes what 'scope' produces and aggregates all the entity types (so :NOUser.me and :NOUser.peer become :NOUser with unified ids)
sourceraw docstring

reorder-rulesclj

(reorder-rules remaining-rules final-tags)
(reorder-rules remaining-rules result next-matches final-tags)
source

s-dependenciesclj

(s-dependencies rule)
source

s-matches?clj

(s-matches? match-tag rule)
source

scopeclj

(scope config snapshot user entities-by-name edn push?)

Takes a snapshot, a user object from DB, entities-by-name and the parsed EDN of rules. A typical invocation looks like this: (scope (d/db db/conn) user entities-by-name (clojure.edn/read-string (slurp "resources/model/pull-scope.edn")))

Returns a map with db ids, something like: {:NOUser.me #{11122, 1222} :user #{2312312}}

Takes a snapshot, a user object from DB, entities-by-name and the parsed EDN of rules.
A typical invocation looks like this: 
(scope (d/db db/conn) user entities-by-name (clojure.edn/read-string (slurp "resources/model/pull-scope.edn")))

Returns a map with db ids, something like:
{:NOUser.me #{11122, 1222} :user #{2312312}}
sourceraw docstring

validate-pull-scopeclj

(validate-pull-scope entities-by-name edn)
source

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

× close