yii\db\DataReader::nextResult PHP Method

nextResult() public method

This method is only useful when there are multiple result sets returned by the query. Not all DBMS support this feature.
public nextResult ( ) : boolean
return boolean Returns true on success or false on failure.
    public function nextResult()
    {
        if (($result = $this->_statement->nextRowset()) !== false) {
            $this->_index = -1;
        }
        return $result;
    }