* Extension independent database result interface
namespace PhpMyAdmin\Dbal;
use PhpMyAdmin\FieldMetadata;
* Extension independent database result interface
* @extends IteratorAggregate<array<string, (string|null)>>
interface ResultInterface extends IteratorAggregate
* Returns a generator that traverses through the whole result set
* and returns each row as an associative array
* @psalm-return Generator<int, array<string, string|null>, mixed, void>
public function getIterator(): Generator;
* Returns the next row of the result with associative keys
* @return array<string,string|null>
public function fetchAssoc(): array;
* Returns the next row of the result with numeric keys
* @return array<int,string|null>
public function fetchRow(): array;