1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-30 04:29:12 +01:00
postgres/lib/TupleResult.php

15 lines
292 B
PHP
Raw Normal View History

2016-09-14 16:27:39 +02:00
<?php declare(strict_types = 1);
namespace Amp\Postgres;
use Amp\Observer;
abstract class TupleResult extends Observer implements Result {
/**
* Returns the number of fields (columns) in each row.
*
* @return int
*/
abstract public function numFields(): int;
}