Expand description

Traits and helper structs for interacting with the graph storage database

Modules

Provides database interface types and functions when there is no database back-end. Mostly throws errors.

Structs

Struct representing a value comparison. In query operations, visitors take provided operation/value nested map and converted them into a Comparison struct and pass it on the database-specific transaction for use in creating match portion of queries.

Enums

Represents the different types of Crud Operations along with the target of the operation (node typename and rel typename for rel ops). This enum is passed to event handler functions.

Represents the different type of comparison match operations

Traits

Trait for a database endpoint. Structs that implement this trait typically take in a connection string and produce a database pool of clients connected to the database

Trait for a database pool. Structs that implement this trait are created by a database endpoint and provide a way to get a transaction from the pool.