ID: 19777
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Won\'t fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4CVS-2002-10-06
New Comment:
Sorry, but I see an advantage. Only one - speed.
Yes, I know, I can write php function for fetching :)
We are not idiots :)
Previous Comments:
------------------------------------------------------------------------
[2002-10-06 14:14:04] [EMAIL PROTECTED]
Looks like the only reason is, that you don't want to write an
addidtional line to fetch the rows in a loop.
Do you see any other benefits?!
I only see disadvantages... if you need such functionality, why don't
write a php-function for?! Personally I don't know any Database, which
supports such kind of functionality; who ever introduced such a
function in pgsql must be drunk :)
------------------------------------------------------------------------
[2002-10-06 05:05:20] [EMAIL PROTECTED]
So, please, we need an analog of pg_fetch_all for mysql...
for speed
Assume TYPE of fetching is MYSQL_ASSOC etc...
We want to avoid manual fetching like following:
$rt = mysql_query("select from...");
while($cur = mysql_fetch_assoc($rt))
$result[]=$cur;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19777&edit=1