(apoc-installed?)
Inputs: [] Returns: s/Bool
Returns true
iff APOC plugin is installed
Inputs: [] Returns: s/Bool Returns `true` iff APOC plugin is installed
(apoc-version)
Inputs: [] Returns: s/Str
Returns the APOC version string, else *** APOC not installed ***
Inputs: [] Returns: s/Str Returns the APOC version string, else `*** APOC not installed ***`
(constraint-drop! cnstr-name)
Inputs: [cnstr-name]
Drops a constraint by name
Inputs: [cnstr-name] Drops a constraint by name
(constraints-all-details)
Inputs: [] Returns: [tsk/KeyMap]
Returns details for all constraints
Inputs: [] Returns: [tsk/KeyMap] Returns details for all constraints
(constraints-all-names)
Inputs: [] Returns: [s/Str]
Returns the names of all constraints
Inputs: [] Returns: [s/Str] Returns the names of all constraints
(constraints-drop-all!)
Inputs: []
Drops all constraints
Inputs: [] Drops all constraints
(db-names-all)
Inputs: [] Returns: [s/Str]
Returns the names of all databases present
Inputs: [] Returns: [s/Str] Returns the names of all databases present
(delete-all-nodes!)
Delete all nodes & edges in the graph. Uses apoc.periodic.iterate() if installed.
Delete all nodes & edges in the graph. Uses apoc.periodic.iterate() if installed.
(delete-all-nodes-apoc!)
Drops all nodes in the DB. Uses function apoc.periodic.iterate
to work in batches.
Safe for large DBs.
Drops all nodes in the DB. Uses function `apoc.periodic.iterate` to work in batches. Safe for large DBs.
(delete-all-nodes-simple!)
Drops all nodes in the DB. works, but could overflow jvm heap for large db's
Drops all nodes in the DB. works, but could overflow jvm heap for large db's
(drop-extraneous-dbs!)
Inputs: [] Returns: [s/Str]
Inputs: [] Returns: [s/Str]
(get-driver uri)
(get-driver uri options)
(get-driver uri user pass)
(get-driver uri user pass options)
Inputs: ([uri user pass] [uri user pass options] [uri] [uri options]) Returns: Driver
Returns a Neo4j Driver from an URI. Uses BOLT as the only communication protocol.
You can connect using a URI or a URI, user, password combination. Either way, you can optioninally pass a map of options:
:logging
- a Neo4j logging configuration, e.g. (ConsoleLogging. Level/FINEST)
Inputs: ([uri user pass] [uri user pass options] [uri] [uri options]) Returns: Driver Returns a Neo4j Driver from an URI. Uses BOLT as the only communication protocol. You can connect using a URI or a URI, user, password combination. Either way, you can optioninally pass a map of options: `:logging` - a Neo4j logging configuration, e.g. (ConsoleLogging. Level/FINEST)
(index-drop! idx-name)
Inputs: [idx-name]
Drops an index by name
Inputs: [idx-name] Drops an index by name
(indexes-all-details)
Inputs: [] Returns: [tsk/KeyMap]
Returns details for all indexes
Inputs: [] Returns: [tsk/KeyMap] Returns details for all indexes
(indexes-drop-all!)
Inputs: []
Drops all user indexes
Inputs: [] Drops all user indexes
(indexes-user-details)
Inputs: [] Returns: [tsk/KeyMap]
Returns details for all user indexes
Inputs: [] Returns: [tsk/KeyMap] Returns details for all user indexes
(indexes-user-names)
Inputs: [] Returns: [s/Str]
Returns the names of all user indexes
Inputs: [] Returns: [s/Str] Returns the names of all user indexes
(info-map)
Inputs: [] Returns: tsk/KeyMap
Returns a map describing the current Neo4j installation
Inputs: [] Returns: tsk/KeyMap Returns a map describing the current Neo4j installation
(neo4j-version)
Inputs: [] Returns: s/Str
Retuns the Neo4j version string
Inputs: [] Returns: s/Str Retuns the Neo4j version string
(nodes-all)
Inputs: [] Returns: tsk/Vec
Returns a vector of all nodes in the DB
Inputs: [] Returns: tsk/Vec Returns a vector of all nodes in the DB
(run query)
(run query params)
Inputs: ([query] [query params]) Returns: tsk/Vec
Runs a neo4j cypher command, returning the result as a vector.
Must be enclosed by a (with-session ...)
form. Not lazy.
Inputs: ([query] [query params]) Returns: tsk/Vec Runs a neo4j cypher command, returning the result as a vector. Must be enclosed by a `(with-session ...)` form. Not lazy.
(with-driver uri user pass & forms)
Creates a Neo4j driver (cached as *neo4j-driver-map*
) for use by the enclosed forms.
Creates a Neo4j driver (cached as `*neo4j-driver-map*`) for use by the enclosed forms.
(with-session & forms)
Creates a Neo4j session object (cached as *neo4j-session*
) for use by the enclosed forms.
Must be enclosed by a (with-driver ...)
form.
Creates a Neo4j session object (cached as `*neo4j-session*`) for use by the enclosed forms. Must be enclosed by a `(with-driver ...)` form.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close