(add-class-flakes conn ledger)
Given a specified and optional classes, returns a set of flakes for all of this member's classes.
Given a specified and optional classes, returns a set of flakes for all of this member's classes.
(classes->collections db)
Returns a map of all classes mapped to their respective collections.
Returns a map of all classes mapped to their respective collections.
(collection-for-class conn ledger class-name)
Given a connection, ledger and class name, returns the collection for the provided class. Always uses latest version of the DB.
Given a connection, ledger and class name, returns the collection for the provided class. Always uses latest version of the DB.
(modify-class-hierarchy)
When we modify a class' place within the class hierarchy, it will trigger modifying existing flakes
When we modify a class' place within the class hierarchy, it will trigger modifying existing flakes
(parent->children parent-class-id class-tuples class-map)
Provided a parent class id, finds all children (subclassOf parent class id), and updates existing class map or creates new class map for each child.
Provided a parent class id, finds all children (subclassOf parent class id), and updates existing class map or creates new class map for each child.
(parent-classes db class-name)
Given a class name and a db, returns a core async channel with a list of all parent classes.
Given a class name and a db, returns a core async channel with a list of all parent classes.
(sub-classes db class-name)
Given a class name and a db, returns a core async channel with a list of all sub-classes.
Given a class name and a db, returns a core async channel with a list of all sub-classes.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close