(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)
(reorder-rules remaining-rules final-tags)
(reorder-rules remaining-rules result next-matches final-tags)
(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}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close