php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #38593 feature request for an attribute that contains the current cursor position
Submitted: 2006-08-25 16:07 UTC Modified: 2012-09-06 01:42 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: php dot net at benjamin dot schulz dot name Assigned:
Status: Open Package: PDO related
PHP Version: 5.2.0RC2 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
14 + 17 = ?
Subscribe to this entry?

 
 [2006-08-25 16:07 UTC] 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))


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-06 01:39 UTC] will dot skates at ntlworld dot com
PDOStatement->rowCount();
 [2012-09-06 01:42 UTC] 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:42 UTC] aharvey@php.net
-Package: Feature/Change Request +Package: PDO related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 02:01:26 2019 UTC