This is a simple graph database in SQLite, inspired by "SQLite as a document database".
The schema consists of just two structures:
id
valueid
values, specifying the direction, with an optional json object as connection propertiesThere are also traversal functions as native SQLite Common Table Expressions which produce lists of identifiers or return all objects along the path:
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.
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!