Optional
params: ParamsSpecifies 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.
Specifies that the fetch method shall return each row as an array indexed by column number as returned in the corresponding result set, starting at column 0.
Specifies that the fetch method shall return each row as a key-value object keyed by both column name and number as returned in the corresponding result set, starting at column 0.
Allows completely customize the way data is treated on the fly.
Specifies that the fetch method shall return only a single requested column from the next row in the result set.
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.
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
Fetch a two-column results into a key-value object where the first column is a key and the second column is the value.
Optional
name: string
Numeric key must start from 1