(gen-ref-id)
Generate a unique id that can be used to reference an Neo4j entity until they are assigned one by the database, which happens when they are stored.
Generate a unique id that can be used to reference an Neo4j entity until they are assigned one by the database, which happens when they are stored.
(labels labels)
Takes a collection of labels (keywords) and returns a Cypher string representing the labels. Order is reversed but doesn't matter.
Takes a collection of labels (keywords) and returns a Cypher string representing the labels. Order is reversed but doesn't matter.
(lookup {:keys [id ref-id props] :as lookup})
Takes a lookup representation and returns its cypher equvalent
The return value is an vector with the first part being the actual entity and the second is the where clause for the lookup.
Takes a lookup representation and returns its cypher equvalent The return value is an vector with the first part being the actual entity and the second is the where clause for the lookup.
(node {:keys [id ref-id props] :as node})
Takes a node representation and returns its cypher equivalent.
Takes a node representation and returns its cypher equivalent.
(properties props)
Convert a map into its bolt query equivalent
Convert a map into its bolt query equivalent
(relationship from to {:keys [ref-id type props]})
Takes a relationship representation and returns its cypher equivalent
Takes a relationship representation and returns its cypher equivalent
Returns the bolt query where representation based on the given criterias
Returns the bolt query where representation based on the given criterias
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close