Skip to content

This is a simple graph database in SQLite, inspired by "SQLite as a document database"

License

Notifications You must be signed in to change notification settings

adamcrussell/simple-graph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a simple graph database in SQLite, inspired by "SQLite as a document database".

Structure

The schema consists of just two structures:

  • Nodes - these are any json objects, with the only constraint being that they each contain a unique id value
  • Edges - these are pairs of node id values, specifying the direction, with an optional json object as connection properties

There are also traversal functions as native SQLite Common Table Expressions which produce lists of identifiers or return all objects along the path:

Applications

Usage

RESTful API (paid)

The Banrai Simple Doc Store service wraps this database core with an API service (swagger), creating a no-admin database for both documents and graphs.

Importable library (free)

Choose an implementation:

Want to contribute an implementation in your preferred programming language?

The schema and prepared sql statements can be used by programs in any programming language with SQLite bindings.

Pull requests are welcome!

About

This is a simple graph database in SQLite, inspired by "SQLite as a document database"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 67.1%
  • Python 32.0%
  • Shell 0.9%