2018-06-26 13:14:24 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Amp\Sql;
|
|
|
|
|
|
|
|
use Amp\Iterator;
|
|
|
|
|
2018-06-29 11:41:04 +02:00
|
|
|
interface ResultSet extends Iterator
|
|
|
|
{
|
2018-06-26 13:14:24 +02:00
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*
|
2018-10-13 16:20:59 +02:00
|
|
|
* @return array Map of row names to values.
|
2018-06-26 13:14:24 +02:00
|
|
|
*/
|
2018-10-13 16:20:59 +02:00
|
|
|
public function getCurrent(): array;
|
2018-06-26 13:14:24 +02:00
|
|
|
}
|