db\Command queryInternal()

queryInternal() protected method (available since version 2.0.1)

Performs the actual DB query of a SQL statement.

protected mixed queryInternal ( $method, $fetchMode = null )
$method string

Method of PDOStatement to be called

$fetchMode integer

The result fetch mode. Please refer to PHP manual for valid fetch modes. If this parameter is null, the value set in $fetchMode will be used.

return mixed

The method execution result

throws yii\db\Exception

if the query causes any problem

doc_Yii
2016-10-30 16:57:29
Comments
Leave a Comment

Please login to continue.