An IGraph compliant view on a Datascript graphs With arguments [<db> Where <db> is an instance of a Datascript database.
An IGraph compliant view on a Datascript graphs With arguments [<db> Where <db> is an instance of a Datascript database.
The basic schema that informs the IGraph implmentation. ::id is the identifier for <s> arguments ::top is true for a subject with no elaborating attributes, (this will provide a basis for a dummy triple declaration for its reference).
The basic schema that informs the IGraph implmentation. ::id is the identifier for <s> arguments ::top is true for a subject with no elaborating attributes, (this will provide a basis for a dummy triple declaration for its reference).
(make-graph)
(make-graph schema)
Returns an instance of DatascriptGraph. Where <schema> must contain Datascript schema declaration for every <p>. See also https://github.com/kristianmandrup/datascript-tutorial/blob/master/create_schema.md
Returns an instance of DatascriptGraph. Where <schema> must contain Datascript schema declaration for every <p>. See also <https://github.com/kristianmandrup/datascript-tutorial/blob/master/create_schema.md>
(normalized-query-output db query-spec)
Returns [<binding> ...] per igraph spec for <query-spec> posed to <db> Where <binding> := {<var> <value> ...} <query-spec> := either <query> without an ':in' clause or a map of the form {:query :args} if query has an ':in' clause <db> is a datascript db <var> is taken from the :from clause of <query> <value> is a value bound to <var> in the query response <query> is a datascript query vector <args> := [<db> <arg> ...] binding to the :in clause of <query> if it exists, or := [<db>] otherwise <arg> matches and element of any :in clause in <query>
Returns [<binding> ...] per igraph spec for <query-spec> posed to <db> Where <binding> := {<var> <value> ...} <query-spec> := either <query> without an ':in' clause or a map of the form {:query :args} if query has an ':in' clause <db> is a datascript db <var> is taken from the :from clause of <query> <value> is a value bound to <var> in the query response <query> is a datascript query vector <args> := [<db> <arg> ...] binding to the :in clause of <query> if it exists, or := [<db>] otherwise <arg> matches and element of any :in clause in <query>
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close