Struct ruarango::Connection

source ·
pub struct Connection { /* private fields */ }
Expand description

An ArangoDB connection implementing the database operation traits

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a vector of collection descriptions Read more
Return information about a single collection
Create a collection
Drop a collection
Will calculate a checksum of the meta-data (keys and optionally revision ids and optionally the document data) in the collection. Read more
The number of documents in the collection. Note - this will always load the collection into memory.
Some figures and additional statistical information about the collection.
Get the revision id for a collection The revision id is a server-generated string that clients can use to check whether data in a collection has changed since the last revision check.
Loads a collection into memory.
load_indexes tries to cache all index entries of this collection into memory. Read more
Change the properties of a collection Read more
Recalculates the document count of a collection, if it ever becomes inconsistent. Read more
Renames a collection
Removes all documents from the collection, but leaves the indexes intact.
Removes a collection from memory. This call does not delete any documents. You can use the collection afterwards, in which case it will be loaded into memory.
Create a cursor
Delete a cursor
Grab the next batch from an open cursor
Retrieves the properties of the current database
Retrieves the list of all databases the current user can access without specifying a different username or password.
Retrieves the list of all existing databases Note: retrieving the list of databases is only possible from within the _system database. Note: You should use the GET user API to fetch the list of the available databases now.
Creates a new database Note: creating a new database is only possible from within the _system database.
Drops the database along with all data stored in it. Note: dropping a database is only possible from within the _system database. The _system database itself cannot be dropped.
Formats the value using the given formatter. Read more
Create a document
Create multiple documents
Read a document
Read multiple documents
Replace a docment with the given document
Replace multiple documents
Update the given data in the given document
Update the given data in the given documents
Delete the given docment
Deletes the given docments
List all graphs
Create a graph
Read a graph
Delete a graph
Create an edge definition
Read the edge definitions for the given graph
Delete an edge definition
Replace an edge definition
Create an edge for a graph
Delete an edge from a graph
Read an edge from a graph
Update an edge from a graph
Replace an edge from a graph
Read the vertex collections from a graph
Create vertex collection
Delete vertex collection
Create vertex
Delete a vertex
Read a vertex
Update vertex
Replace vertex
Returns the processing status of the specified job. The processing status can be determined by checking the HTTP response code. Read more
Docs
Docs
Docs

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more