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

    Type Alias FileSql

    the slice of ctx.storage.sql this module uses; structural so a mock can drive it

    type FileSql = {
        exec(
            sql: string,
            ...bindings: unknown[],
        ): { toArray(): Record<string, unknown>[] };
    }
    Index
    • Parameters

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

      Returns { toArray(): Record<string, unknown>[] }