Anchorage API reference
    Preparing search index...

    The database surface an inventory read needs — and NOTHING ELSE.

    There is no run() on this seam, deliberately. Every other store in this package takes a shape that can write, because it writes; this one cannot express a write at all, so "the inventory performs no writes" is a fact about the type rather than a promise about the code. env.DB satisfies it structurally, as does a node:sqlite test double.

    interface InventoryDatabase {
        prepare(query: string): InventoryStatement;
    }
    Index

    Methods

    Methods