How to pass fetch mode specific parameters?

How shold I pass each fetch mode spesific parameters (http://php.net/manual/en/pdostatement.setfetchmode.php) in the following statment. Here I need to pass the colno parameter.

$this->di['db']->fetchOne('select * from user where username=:username and password=:password', Phalcon\Db::FETCH_COLUMN,
    ['username' => $request['username'], 'password' => $request['password']]);

Currently I get this error: SQLSTATE[HY000]: General error: fetch mode requires the colno argument



10.1k

I confirm the problem