Req #38593 [Opn->Wfx]: feature request for an attribute that contains the current cursor position

From: Date: Tue, 03 Aug 2021 12:55:38 +0000
Subject: Req #38593 [Opn->Wfx]: feature request for an attribute that contains the current cursor position
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235557@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=38593&edit=1 ID: 38593 Updated by: cmb@php.net Reported by: php dot net at benjamin dot schulz dot name Summary: feature request for an attribute that contains the current cursor position -Status: Open +Status: Wont fix Type: Feature/Change Request Package: PDO related PHP Version: 5.2.0RC2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > an attribute or an argument that gives current cursor position > (count of fetched rows) would be usefulk Which one is it? As mentioned above, ::rowCount() is already a thing. Anyhow, after almost 15 years without much traction I think it's safe to close this as WONTFIX. If anybody still feels there is room for improvement, please pursue the RFC process[1]. [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2012-09-06 01:42:30] aharvey@php.net rowCount() doesn't provide the current cursor position. I'm not actually sure we track this, but let's at least put it in the right package so somebody can look into it. ------------------------------------------------------------------------ [2012-09-06 01:39:05] will dot skates at ntlworld dot com PDOStatement->rowCount(); ------------------------------------------------------------------------ [2006-08-25 16:07:38] php dot net at benjamin dot schulz dot name Description: ------------ an attribute or an argument that gives current cursor position (count of fetched rows) would be usefulk Reproduce code: --------------- PDOStatement::getAttribute(PDO::ATTR_CURSOR_POSITION)) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=38593&edit=1

« previous php.bugs (#235557) next »