Cake\ORM\Query::_execute PHP Méthode

_execute() protected méthode

This will also setup the correct statement class in order to eager load deep associations.
protected _execute ( ) : Cake\ORM\ResultSet
Résultat Cake\ORM\ResultSet
    protected function _execute()
    {
        $this->triggerBeforeFind();
        if ($this->_results) {
            $decorator = $this->_decoratorClass();
            return new $decorator($this->_results);
        }
        $statement = $this->eagerLoader()->loadExternal($this, $this->execute());
        return new ResultSet($this, $statement);
    }