Skip to main content

Crate grafeo

Crate grafeo 

Source
Expand description

§Grafeo

A high-performance, pure-Rust, embeddable graph database.

Grafeo supports multiple query languages through feature flags:

  • GQL (ISO standard, default) — gql feature
  • Cyphercypher feature
  • SPARQLsparql feature
  • Gremlingremlin feature
  • GraphQLgraphql feature

Enable all with the full feature.

§Quick Start

use grafeo::GrafeoDB;

let db = GrafeoDB::new_in_memory();
let session = db.session();
let result = session.execute("INSERT (:Person {name: 'Alice'})");

Structs§

Catalog
The main database catalog.
Config
Database configuration.
EdgeId
Unique identifier for an edge in the graph.
GrafeoDB
The main Grafeo database.
IndexDefinition
Index definition.
NodeId
Unique identifier for a node in the graph.
Session
A session for interacting with the database.

Enums§

CatalogError
Catalog-related errors.
IndexType
Type of index.
Value
A dynamically-typed property value.