mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Merge pull request #60 from kinglozzer/fix-seek
FIX: PostgreSQLQuery::seek() failed to return a row
This commit is contained in:
commit
33e97cc49f
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user