Expand description
§
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
- Value
Map - A map of values.
Enums§
- Backend
- Backend
- Compile
Time Error - Represent compile time errors.
- Error
- GQLite errors
- Query
Result - Hold the result of executing a query.
- RunTime
Error - Runtime errors.
- Store
Error - Error in the store backend.
- Value
- Represent a value in a properties for a Node or an Edge.
Traits§
- Value
TryInto Ref - 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 withResult<T>