Performs the actual DB query of a SQL statement.
protected queryInternal ( string $method, integer $fetchMode = null ) : mixed | ||
$method | string | method of PDOStatement to be called |
$fetchMode | integer | the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used. |
return | mixed | the method execution result |