Liking cljdoc? Tell your friends :D

tupelo.neo4j


*neo4j-driver*clj

source

*neo4j-session*clj

source

apoc-installed?clj

(apoc-installed?)

Inputs: [] Returns: s/Bool

Returns true iff APOC plugin is installed

Inputs: []
Returns: s/Bool

Returns `true` iff APOC plugin is installed
sourceraw docstring

apoc-versionclj

(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 ***`
sourceraw docstring

configclj

(config options)
source

constraint-drop!clj

(constraint-drop! cnstr-name)

Inputs: [cnstr-name]

Drops a constraint by name

Inputs: [cnstr-name]

Drops a constraint by name
sourceraw docstring

constraints-all-detailsclj

(constraints-all-details)

Inputs: [] Returns: [tsk/KeyMap]

Returns details for all constraints

Inputs: []
Returns: [tsk/KeyMap]

Returns details for all constraints
sourceraw docstring

constraints-all-namesclj

(constraints-all-names)

Inputs: [] Returns: [s/Str]

Returns the names of all constraints

Inputs: []
Returns: [s/Str]

Returns the names of all constraints
sourceraw docstring

constraints-drop-all!clj

(constraints-drop-all!)

Inputs: []

Drops all constraints

Inputs: []

Drops all constraints
sourceraw docstring

core-db-namesclj

Never delete these DBs!

Never delete these DBs! 
sourceraw docstring

db-names-allclj

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

delete-all-nodes!clj

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

delete-all-nodes-apoc!clj

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

delete-all-nodes-simple!clj

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

drop-extraneous-dbs!clj

(drop-extraneous-dbs!)

Inputs: [] Returns: [s/Str]

Inputs: []
Returns: [s/Str]
sourceraw docstring

get-driverclj

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

index-drop!clj

(index-drop! idx-name)

Inputs: [idx-name]

Drops an index by name

Inputs: [idx-name]

Drops an index by name
sourceraw docstring

indexes-all-detailsclj

(indexes-all-details)

Inputs: [] Returns: [tsk/KeyMap]

Returns details for all indexes

Inputs: []
Returns: [tsk/KeyMap]

Returns details for all indexes
sourceraw docstring

indexes-drop-all!clj

(indexes-drop-all!)

Inputs: []

Drops all user indexes

Inputs: []

Drops all user indexes
sourceraw docstring

indexes-user-detailsclj

(indexes-user-details)

Inputs: [] Returns: [tsk/KeyMap]

Returns details for all user indexes

Inputs: []
Returns: [tsk/KeyMap]

Returns details for all user indexes
sourceraw docstring

indexes-user-namesclj

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

info-mapclj

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

neo4j-versionclj

(neo4j-version)

Inputs: [] Returns: s/Str

Retuns the Neo4j version string

Inputs: []
Returns: s/Str

Retuns the Neo4j version string
sourceraw docstring

nodes-allclj

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

runclj

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

with-drivercljmacro

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

with-sessioncljmacro

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

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

× close