Anchorage API reference
    Preparing search index...

    Interface ExecutionFenceDatabase

    Minimal structural D1 surface, the same posture as SnapshotDatabase and ApprovalDatabase: tests back it with node:sqlite, Workers pass env.DB.

    all() rather than first() for the one read, deliberately: this exact shape is what DeploymentIdentityDatabase, SnapshotDatabase, and ApprovalDatabase all already satisfy, so every surface that must consult the fence can hand over the binding it already holds with no cast and no second seam. The fence's row is unique by primary key, so the two are equivalent.

    interface ExecutionFenceDatabase {
        prepare(query: string): ExecutionFenceStatement;
    }
    Index

    Methods

    Methods