Class D1PreparedStatementAbstract

Constructors

Methods

Constructors

Methods

  • Type Parameters

    • T = Record<string, unknown>

    Returns Promise<D1Result<T>>

  • Type Parameters

    • T = unknown

    Parameters

    • colName: string

    Returns Promise<T>

  • Type Parameters

    • T = Record<string, unknown>

    Returns Promise<T>

  • Type Parameters

    • T = unknown[]

    Parameters

    • options: {
          columnNames: true;
      }
      • columnNames: true

    Returns Promise<[string[], ...T[]]>

  • Type Parameters

    • T = unknown[]

    Parameters

    • Optional options: {
          columnNames?: false;
      }
      • Optional columnNames?: false

    Returns Promise<T[]>