Skip to content

Function: createSqliteLedgerBuilder() ​

ts
function createSqliteLedgerBuilder(uri, compaction?): SqliteLedgerBuilder;

Defined in: sqlite/src/builders/create-sqlite-ledger-builder.ts:17

Creates an immutable SqliteLedgerBuilder targeting uri.

Validates that uri is non-empty and produces passive SqliteLedgerNode AST descriptors with zero import-time or builder-time filesystem I/O.

Parameters ​

ParameterTypeDescription
uristringHost-root-relative SQLite file path or :memory: URI.
compaction?CompactionConfigNodeOptional pre-compiled compaction configuration node.

Returns ​

SqliteLedgerBuilder

Frozen SQLite ledger AST builder.

Released under the MIT License.