Class PdoStatement

Hierarchy (view full)

Implements

Constructors

Methods

  • Specifies that the fetch method shall return each row as a key-value object keyed by column name as returned in the corresponding result set. If the result set contains multiple columns with the same name, it returns an array of values per column name.

    Returns Fetched<Named>

  • Specifies that the fetch method shall return each row as a key-value object keyed by column name as returned in the corresponding result set. If the result set contains multiple columns with the same name, it returns only a single value per column name.

    Type Parameters

    Returns Fetched<T>

  • Specifies that the fetch method shall return a new instance of the requested class, mapping the columns to named properties in the class. Note: The setter method is called if defined in the requested class

    Type Parameters

    • T

    Parameters

    • abstract: Newable<T>
    • Optional constructorArgs: any[]

    Returns Fetched<T>