yii\mongodb\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()
    {
        $this->_iterator = null;
        $this->_batch = null;
        $this->_value = null;
        $this->_key = null;
    }