Liking cljdoc? Tell your friends :D

clarango.core


connection-set?clj

(connection-set?)

Returns true if a connection is set.

Returns true if a connection is set.
sourceraw docstring

get-connectionclj

(get-connection)

Returns the db server connection map to other namespaces.

Returns the db server connection map to other namespaces.
sourceraw docstring

set-connection!clj

(set-connection!)
(set-connection! connection-map)

Connects permanently to an ArangoDB host by setting the connection map as a global variable. If called without arguments set default connection at localhost:8529 with _system db.

Connects permanently to an ArangoDB host by setting the connection map as a global variable.
If called without arguments set default connection at localhost:8529 with _system db.
sourceraw docstring

set-connection-url!clj

(set-connection-url! connection-url)

Sets the server url.

Sets the server url.
sourceraw docstring

set-default-collection!clj

(set-default-collection! collection-name)

Sets a default collection.

Sets a default collection.
sourceraw docstring

set-default-db!clj

(set-default-db! database-name)

Sets a default database.

Sets a default database.
sourceraw docstring

set-default-graph!clj

(set-default-graph! graph-name)

Sets a default graph.

Sets a default graph.
sourceraw docstring

with-collectioncljmacro

(with-collection collection-name & body)

Dynamically rebinds the default collection value. Takes a body of code which will be executed in the context of this collection.

Dynamically rebinds the default collection value.
Takes a body of code which will be executed in the context of this collection.
sourceraw docstring

with-connectioncljmacro

(with-connection connection & body)

Dynamically rebinds the global connection map. Takes a body of code which will be executed in the context of this connection.

Dynamically rebinds the global connection map.
Takes a body of code which will be executed in the context of this connection.
sourceraw docstring

with-dbcljmacro

(with-db database-name & body)

Dynamically rebinds the default database value. Takes a body of code which will be executed in the context of this database.

Dynamically rebinds the default database value.
Takes a body of code which will be executed in the context of this database.
sourceraw docstring

with-graphcljmacro

(with-graph graph-name & body)

Dynamically rebinds the default graph value. Takes a body of code which will be executed in the context of this graph.

Dynamically rebinds the default graph value.
Takes a body of code which will be executed in the context of this graph.
sourceraw docstring

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

× close