yii\db\DataReader::setFetchMode PHP Method

setFetchMode() public method

Set the default fetch mode for this statement
See also: http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php
public setFetchMode ( integer $mode )
$mode integer fetch mode
    public function setFetchMode($mode)
    {
        $params = func_get_args();
        call_user_func_array([$this->_statement, 'setFetchMode'], $params);
    }