Relational NT
A relational database kernel shaped around NT-style object management.
Loading...
Searching...
No Matches
SqliteBackend.h File Reference

IStorageBackend implementation backed by an in-process SQLite database. More...

#include "Api.h"
#include "IStorageBackend.h"
#include <sqlite3.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  nt::SqliteBackend

Namespaces

namespace  nt
 Contains the Relational NT runtime managers and API facade.

Detailed Description

IStorageBackend implementation backed by an in-process SQLite database.

SQLite schema:

kv(hash TEXT PRIMARY KEY, value BLOB NOT NULL) — content-addressed store; key is the SHA256 hex digest of value.

Relation membership is tracked by the Merkle B-tree maintained in-process. The former relation_index table has been removed; tuple hashes are looked up via Merkle::Page which reads only the KV store.