Liking cljdoc? Tell your friends :D

neo4clj.cypher


gen-ref-idclj

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

labelsclj

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

lookup-nodeclj

(lookup-node {:keys [ref-id id props] :as lookup})

Takes a node 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 node 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.
sourceraw docstring

lookup-relationshipclj

(lookup-relationship {:keys [ref-id id type from to props] :as rel})

Takes a relationship 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 relationship 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.
sourceraw docstring

lookup-whereclj

(lookup-where {:keys [ref-id id props]})
source

nodeclj

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

propertiesclj

(properties props)

Convert a map into its bolt query equivalent

Convert a map into its bolt query equivalent
sourceraw docstring

relationshipclj

(relationship from to {:keys [ref-id id type props]})

Takes a relationship representation and returns its cypher equivalent

Takes a relationship representation and returns its cypher equivalent
sourceraw docstring

wherecljmultimethod

Returns the bolt query where representation based on the given criterias

Returns the bolt query where representation based on the given criterias
sourceraw docstring

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

× close