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

    Interface HealthSql

    the shape this module needs from ctx.storage.sql; keeps it testable

    interface HealthSql {
        exec(
            query: string,
            ...params: unknown[],
        ): { toArray(): Record<string, unknown>[] };
    }
    Index
    • Parameters

      • query: string
      • ...params: unknown[]

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