Crate gqlitedb

Crate gqlitedb 

Source
Expand description

§GQLite logo GQLite

Implementation of GQL (Graph Query Language), embeddable in applications.

Add to your crate, using cargo add gqlitedb. Check-out Connection for an example of use.

Macros§

array
Convenient macro for creating Array.
labels
Convenient macro to create a vector of label, from &str.
table
Convenient macro for creating tables.
value_map
Convenient macro for creating ValueMap.

Structs§

Connection
Connection is the interface to the database, and allow to execute new queries. New connection are created with Connection::create or Connection::builder and queried with Connection::execute_oc_query. As shown in the example bellow:
Edge
Directed edge of the graph.
Node
Represent a Node in the graph
Path
SinglePath in the graph. A SinglePath contains an edge, source and destination.
Table
Table of values
ValueMap
A map of values.

Enums§

Backend
Backend
CompileTimeError
Represent compile time errors.
Error
GQLite errors
QueryResult
Hold the result of executing a query.
RunTimeError
Runtime errors.
StoreError
Error in the store backend.
Value
Represent a value in a properties for a Node or an Edge.

Traits§

ValueTryIntoRef
Trait to return a reference to the underlying type

Type Aliases§

Result
GQLite Result alias. Usable as a standard Result<T, E> or default to gqlite::Error with Result<T>