(connection-set?)
Returns true if a connection is set.
Returns true if a connection is set.
(get-connection)
Returns the db server connection map to other namespaces.
Returns the db server connection map to other namespaces.
(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.
(set-connection-url! connection-url)
Sets the server url.
Sets the server url.
(set-default-collection! collection-name)
Sets a default collection.
Sets a default collection.
(set-default-db! database-name)
Sets a default database.
Sets a default database.
(set-default-graph! graph-name)
Sets a default graph.
Sets a default graph.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close