Merge pull request #60 from kinglozzer/fix-seek

FIX: PostgreSQLQuery::seek() failed to return a row
This commit is contained in:
Damian Mooyman 2017-01-13 09:05:46 +13:00 committed by GitHub
commit 33e97cc49f

View File

@ -36,7 +36,8 @@ class PostgreSQLQuery extends Query
public function seek($row) public function seek($row)
{ {
return pg_result_seek($this->handle, $row); pg_result_seek($this->handle, $row);
return pg_fetch_row($this->handle);
} }
public function numRecords() public function numRecords()