Anchorage API reference
    Preparing search index...

    Structural subset of D1Database — the binding init() and createD1Storage forward, opaque, into @mastra/cloudflare-d1's D1Store (see the cast at that boundary in d1-storage.ts). do-runner itself never calls a method on it — D1Store does, internally — so prepare is kept only as the one identifying member: it rejects a value that plainly isn't D1-shaped (a string, a KV namespace, ...) at the type level without over-specifying a surface nothing here consumes.

    interface D1DatabaseBinding {
        prepare(query: string): unknown;
    }
    Index

    Methods

    Methods