Optional
params: ParamsSpecifies 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 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.
Fetch a two-column results into a key-value object where the first column is a key and the second column is the value.
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.