Crate wasccgraph_common

Source
Expand description

§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

Modules§

protocol
Common protocol types

Structs§

GraphString
A string returned by the graph DB as a vector of bytes
Node
Relation
ResultSet
Represents the return data from a graph. You shouldn’t have to use this type directly, but rather extract rows and columns via vectors of tuples and pattern matching/destructing
Statistics
Human-readable statistics that are optionally returned with each query

Enums§

Column
A single column of the result set.
GraphError
Common error type for this crate.
Scalar
A scalar value returned by the Graph provider

Constants§

CAPID_GRAPHDB

Traits§

FromCell
Implemented by types that can be constructed from a cell in a ResultSet.
FromRow
Implemented by types that can be constructed from a row in a ResultSet.
FromTable

Type Aliases§

GraphResult
Common result type for this crate.