public executeQuery ( $query, array $params = [], $types = [], Doctrine\DBAL\Cache\QueryCacheProfile $qcp = null ) | ||
$params | array | |
$qcp | Doctrine\DBAL\Cache\QueryCacheProfile |
public function executeQuery($query, array $params = array(), $types = array(), QueryCacheProfile $qcp = null)
{
$stmt = new Statement(parent::executeQuery($query, $params, $types, $qcp), $this);
$stmt->setFetchMode($this->defaultFetchMode);
return $stmt;
}