#graph-database #capability-provider #graphdb #redis #database #api-bindings

wasccgraph-common

Common graph database support for waSCC actors and capability providers

2 releases

0.0.2 May 18, 2020
0.0.1 May 15, 2020

#1278 in WebAssembly

36 downloads per month
Used in 2 crates

Apache-2.0

23KB
424 lines

waSCC Graph DB Common

This crate contains types and utility functions that are shared between a Graph DB capability provider and an actor consuming said provider. Ideally, any graph db capability provider (e.g. Neo4j, RedisGraph, etc) should share the same set of common types and only differ in the implementation of the capability provider.

If, at some point, this set of common types becomes insufficient, then we should refactor these types rather than creating a new crate to support one-off graph database providers.


lib.rs:

Common types (GraphDB)

A set of common types that largely support the ResultSet type, a wrapper around results that come back from a graph database that supports dynamic, strongly-typed tuple extraction.

These types are mostly copied wholesale from the RedisGraph client library that can be found at https://github.com/malte-v/redisgraph-rs

Dependencies

~0.4–1MB
~23K SLoC