Setu-TS
    Preparing search index...

    Interface D1Result<T>

    A D1 statement result.

    0.2.0

    interface D1Result<T = Record<string, unknown>> {
        results: readonly T[];
        success: boolean;
    }

    Type Parameters

    • T = Record<string, unknown>

      The row shape

    Index
    results: readonly T[]

    The returned rows; empty for a write.

    success: boolean

    Whether the statement succeeded.