Synclets logoSynclets

createSqlite3MetaConnector

The createSqlite3MetaConnector function creates a MetaConnector that persists Timestamp metadata in a SQLite3 database table.

createSqlite3MetaConnector<Depth>(options: Sqlite3MetaConnectorOptions<Depth>): Sqlite3MetaConnector<Depth>
TypeDescription
optionsSqlite3MetaConnectorOptions<Depth>
returnsSqlite3MetaConnector<Depth>

The connector automatically creates the necessary table and index structures on first use. By default, metadata is stored in a table named 'meta' with columns for 'address' and 'timestamp', but these can be customized via the options parameter. The metadata table mirrors the structure of the data tree but stores HLC timestamps instead of Atom values.

Since

v0.0.0