PEAR::DB getAll feature request (limit from,count)

From: Date: Thu, 27 Feb 2003 16:56:43 +0000
Subject: PEAR::DB getAll feature request (limit from,count)
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14000@lists.php.net to get a copy of this message
What are the chanses of adding two extra parameters to getAll in DB, from and count, and if set use limitQuery instead of query (this would have to be added to DB_Common excute too though). Since we are talking about two new parameters this would not break BC but it would have to be implemented . plus it would probably be good to be added to getCol and getAssoc too. It would be really usefull for me and am sure for others. If people are too busy to implement this I would provide the patches (no some backends atleast am thinking mysql/pgsql) assuming this feature gets approved. here is and example +getAll($query, $params = null, $fetchmode = DB_FETCHMODE_DEFAULT) -getAll($query, $params = null, $fetchmode = DB_FETCHMODE_DEFAULT, $from=null, $count=null) Ok + or - Yavor

« previous php.pear.dev (#14000) next »