createPgliteMetaConnector
The createPgliteMetaConnector function creates a MetaConnector that persists Timestamp metadata in a PGlite database table.
createPgliteMetaConnector<Depth>(options: PgliteMetaConnectorOptions<Depth>): PgliteMetaConnector<Depth>| Type | Description | |
|---|---|---|
options | PgliteMetaConnectorOptions<Depth> | |
| returns | PgliteMetaConnector<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