Liking cljdoc? Tell your friends :D

fluree.db.class.core


add-class-flakesclj/s

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

classes->collectionsclj/s

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

collection-for-classclj/s

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

modify-class-hierarchyclj/s

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

parent->childrenclj/s

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

parent-classesclj/s

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

sub-classesclj/s

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

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

× close