src/Squid/MySql/Impl/Command/CmdMultiQuery.php
public function executeIterator()
	{
		$result = $this->execute();
		
		if (!$result) 
			throw new MySqlException('Could not execute multiset query!');
		
			while (true)
			{
				yield new StatementResult($result);
				
				if (!$result->nextRowset())
				{
					$this->checkForError($result);
					break;
				}
			}
	}
public function executeIterator()
	{
		$result = $this->execute();
		
		if (!$result) 
			throw new MySqlException('Could not execute multiset query!');
		
			while (true)
			{
				yield new StatementResult($result);
				
				if (!$result->nextRowset())
				{
					$this->checkForError($result);
					break;
				}
			}
	}
Return an iterator to iterate over all result sets.
@return \Generator|IStatementResult[]