Interface: SqliteLedgerBuilder
Defined in: sqlite/src/builders/sqlite-ledger-builder.ts:10
Fluent builder for a passive SqliteLedgerNode (sqlite.ledger(uri)).
Configures a WAL-mode SQLite ledger store and optional wire-frame compaction triggers without opening database connections at declaration time.
Extends
Methods
compactWhen()
compactWhen(configure): SqliteLedgerBuilder;Defined in: sqlite/src/builders/sqlite-ledger-builder.ts:20
Attaches a wire-frame compaction policy to the SQLite ledger store.
Invokes configure with a fresh CompactionConfigBuilder and returns a new immutable ledger builder.
Parameters
| Parameter | Type | Description |
|---|---|---|
configure | (builder) => CompactionConfigBuilder | Pure configurator callback. |
Returns
SqliteLedgerBuilder
Updated immutable SQLite ledger builder.
toAST()
toAST(): SqliteLedgerNode;Defined in: core/dist/ast/ast-builder.d.ts:19
Compiles the current builder configuration into a deeply frozen passive AST node.
Validates required builder invariants at compilation time and returns an immutable plain-object AST representation containing zero execution methods.
Returns
Deeply frozen passive AST node.