yii\db\BatchQueryResult::reset PHP Метод

reset() публичный Метод

This method will clean up the existing batch query so that a new batch query can be performed.
public reset ( )
    public function reset()
    {
        if ($this->_dataReader !== null) {
            $this->_dataReader->close();
        }
        $this->_dataReader = null;
        $this->_batch = null;
        $this->_value = null;
        $this->_key = null;
    }