drupflare/worker - v1.0.0
    Preparing search index...

    Type Alias SqlLike

    the shape of ctx.storage.sql this wrapper needs, narrowed so the module stays testable

    type SqlLike = {
        exec(sql: string, ...bindings: unknown[]): { rowsWritten: number };
    }
    Index
    • Parameters

      • sql: string
      • ...bindings: unknown[]

      Returns { rowsWritten: number }