Liking cljdoc? Tell your friends :D

neo4clj.query-builder


create-graph-queryclj

(create-graph-query {:keys [lookups nodes relationships returns]})

Takes a graph representation and creates the nodes and relationship defined and returns any aliases specified in the representation

Takes a graph representation and creates the nodes and relationship defined
and returns any aliases specified in the representation
sourceraw docstring

create-node-queryclj

(create-node-query {:keys [ref-id] :or {ref-id (cypher/gen-ref-id)} :as node}
                   return?)

Returns the bolt query to create a node based on the given node representation

Returns the bolt query to create a node based on the given node representation
sourceraw docstring

create-relationship-queryclj

(create-relationship-query
  {:keys [ref-id from to] :or {ref-id (cypher/gen-ref-id)} :as rel}
  return?)

Returns the bolt query to create a one directional relationship based on the given relationship representation

Returns the bolt query to create a one directional relationship
based on the given relationship representation
sourceraw docstring

delete-queryclj

(delete-query {:keys [ref-id] :or {ref-id "e"} :as entity})

Takes a neo4j entity representation and deletes it

Takes a neo4j entity representation and deletes it
sourceraw docstring

get-graph-queryclj

(get-graph-query {:keys [nodes relationships returns]})

Takes a graph representation and fetches the nodes and relationship defined and returns any aliases specified in the representation

Takes a graph representation and fetches the nodes and relationship defined
and returns any aliases specified in the representation
sourceraw docstring

index-queryclj

(index-query operation label prop-keys)

Creates a query to modify index, allowed operations are: CREATE, DROP

Creates a query to modify index, allowed operations are: CREATE, DROP
sourceraw docstring

lookup-graph-queryclj

(lookup-graph-query relationships nodes)
source

lookup-non-referred-nodeclj

(lookup-non-referred-node ref-id node)
source

lookup-queryclj

(lookup-query {:keys [ref-id] :as lookup} return?)

Takes a lookup representation and generates a bolt query

A lookup representation needs the :reference.id to be set and either the :id or :labels and :properties keys

Takes a lookup representation and generates a bolt query

A lookup representation needs the :reference.id to be set and
either the :id or :labels and :properties keys
sourceraw docstring

modify-labels-queryclj

(modify-labels-query operation
                     {:keys [ref-id] :or {ref-id "n"} :as node}
                     labels)

Takes a operation and a neo4j node representation, along with a collection of labels and either sets or removes them

Allowed operations are: SET, REMOVE

Takes a operation and a neo4j node representation, along with a collection
of labels and either sets or removes them

Allowed operations are: SET, REMOVE
sourceraw docstring

modify-properties-queryclj

(modify-properties-query operation
                         {:keys [ref-id] :or {ref-id "e"} :as entity}
                         props)

Takes a neo4j entity representation, along with a properties map

Allowed operations are: =, +=

Takes a neo4j entity representation, along with a properties map

Allowed operations are: =, +=
sourceraw docstring

node-referenceclj

(node-reference nodes {:keys [ref-id] :as node})
source

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

× close