From 3916cd5d2ebf8150396854b436ff18194c7ee294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kucha=C5=99?= <honza.kuchar@grifart.cz> Date: Sat, 7 May 2016 12:29:54 +0200 Subject: [PATCH] Updated docblock --- src/PostgresDriver/Cursor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PostgresDriver/Cursor.php b/src/PostgresDriver/Cursor.php index e3d8816..55a8e82 100644 --- a/src/PostgresDriver/Cursor.php +++ b/src/PostgresDriver/Cursor.php @@ -10,7 +10,9 @@ use Dibi\Connection; /** * PostgreSQL cursor driver * - * Basic envelope over postgres' cursor, without proper check for edge cases. + * Basic envelope over PostgreSQL's cursor. This cursor envelope does not know + * cursor position, thus cannot do boundary checks. If you reach end, you simply + * get no more values. * * @package Grifart\Mappi\Store\PostgresDriver */ @@ -41,7 +43,6 @@ class Cursor implements ICursor return $this->name; } - public function moveTo(int $index) { $result = $this->getConnection()->query( -- GitLab