(add-to-index connection node idx key value)
(add-to-index connection node idx key value unique?)
Adds the given node to the index
Adds the given node to the index
(all-connected-out connection id & {:keys [types]})
Returns all nodes given node has outgoing (outbound) relationships with
Returns all nodes given node has outgoing (outbound) relationships with
(all-indexes connection)
Returns all node indices
Returns all node indices
(connected-out? connection id other-id & {:keys [types]})
Returns true if given node has outgoing (outbound) relationships with the other node
Returns true if given node has outgoing (outbound) relationships with the other node
(create connection)
(create connection data)
(create connection data indexes)
Creates and returns a node with given properties. 0-arity creates a node without properties.
Creates and returns a node with given properties. 0-arity creates a node without properties.
(create-batch connection xs)
Does an efficient batch insert of multiple nodes. Use it if you need to insert tens of hundreds of thousands of nodes.
This function returns a lazy sequence of results, so you may need to force it using clojure.core/doall
Does an efficient batch insert of multiple nodes. Use it if you need to insert tens of hundreds of thousands of nodes. This function returns a lazy sequence of results, so you may need to force it using clojure.core/doall
(create-index connection s)
(create-index connection s configuration)
Creates a new node index. Indexes are used for fast lookups by a property or full text search query.
Creates a new node index. Indexes are used for fast lookups by a property or full text search query.
(create-unique-in-index connection idx k v data)
Atomically creates and returns a node with the given properties and adds it to an index while ensuring key uniqueness
in that index. This is the same as first creating a node using the clojurewerkz.neocons.rest.nodes/create
function
and indexing it with the 4-arity of clojurewerkz.neocons.rest.nodes/add-to-index
but performed atomically and requires
only a single request.
For more information, see http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.html section (19.8.1)
Atomically creates and returns a node with the given properties and adds it to an index while ensuring key uniqueness in that index. This is the same as first creating a node using the `clojurewerkz.neocons.rest.nodes/create` function and indexing it with the 4-arity of `clojurewerkz.neocons.rest.nodes/add-to-index` but performed atomically and requires only a single request. For more information, see http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.html section (19.8.1)
Deletes a node. The node must have no relationships
Deletes a node. The node must have no relationships
(delete-from-index connection node idx)
(delete-from-index connection node idx key)
(delete-from-index connection node idx key value)
Deletes the given node from index
Deletes the given node from index
(delete-index connection s)
Deletes a node index
Deletes a node index
(delete-many connection xs)
Deletes multiple nodes
Deletes multiple nodes
Deletes a node and all of its relationships
Deletes a node and all of its relationships
(destroy-many connection xs)
Destroys multiple nodes and all of their relationships
Destroys multiple nodes and all of their relationships
(fetch-from connection uri)
Fetches a node from given URI. Exactly like clojurewerkz.neocons.rest.nodes/get but takes a URI instead of an id.
Fetches a node from given URI. Exactly like clojurewerkz.neocons.rest.nodes/get but takes a URI instead of an id.
(find connection key value)
(find connection idx key value)
Finds nodes using the index
Finds nodes using the index
(find-one connection idx key value)
Finds a single node using the index
Finds a single node using the index
(get-many connection coll)
Fetches multiple nodes by id.
This is a non-standard operation that requires Cypher support as well as support for that very feature by Cypher itself (Neo4j Server versions 1.6.3 and later).
Fetches multiple nodes by id. This is a non-standard operation that requires Cypher support as well as support for that very feature by Cypher itself (Neo4j Server versions 1.6.3 and later).
(multi-get connection coll)
Fetches multiple nodes by id. Deprecated, please use get-many instead.
Fetches multiple nodes by id. Deprecated, please use get-many instead.
(query connection query)
(query connection idx query)
Finds nodes using full text search query
Finds nodes using full text search query
Sets a single property on the given node
Sets a single property on the given node
(traverse connection
id
&
{:keys [order relationships uniqueness prune-evaluator return-filter
max-depth]
:or {order "breadth_first"
uniqueness "node_global"
prune-evaluator {:language "builtin" :name "none"}
return-filter {:language "builtin" :name "all"}}})
Performs node traversal
Performs node traversal
Updated a node's data (properties)
Updated a node's data (properties)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close