Merge pull request #61 from kinglozzer/fix-seek-pt2

FIX: PostgreSQLQuery::seek() returning indexed array instead of associative
This commit is contained in:
Daniel Hensby 2017-01-13 11:31:49 +00:00 committed by GitHub
commit a0b9010b90

View File

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