Versions in this module Expand all Collapse all v0 v0.1.0 Mar 12, 2023 Changes in this version + var DefaultConfig = Config + type Config struct + EdgesTable string + VertexHashType string + VertexValueType string + VerticesTable string + type Store struct + func New(db *sql.DB, config Config) *Store[K, T] + func (s *Store[K, T]) AddEdge(sourceHash, targetHash K, edge graph.Edge[K]) error + func (s *Store[K, T]) AddVertex(hash K, value T, properties graph.VertexProperties) error + func (s *Store[K, T]) Edge(sourceHash, targetHash K) (graph.Edge[K], error) + func (s *Store[K, T]) ListEdges() ([]graph.Edge[K], error) + func (s *Store[K, T]) ListVertices() ([]K, error) + func (s *Store[K, T]) RemoveEdge(sourceHash, targetHash K) error + func (s *Store[K, T]) SetupTables() error + func (s *Store[K, T]) Vertex(hash K) (T, graph.VertexProperties, error) + func (s *Store[K, T]) VertexCount() (int, error)