Re: RE: [PEAR-DEV] numRows(), out of order row fetching and stuff?
| From: | Greg Beaver | Date: | Mon, 21 Jul 2003 17:02:28 +0000 |
| Subject: | Re: RE: [PEAR-DEV] numRows(), out of order row fetching and stuff? | ||
| References: | 1 2 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-18495@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Perhaps you could re-implement numRows() to do this, and add a big warning about performance, or is the goal to cut off bloat? GregFrom: Hans Lellelid [mailto:hans@appliedsec.com] Sent: Monday, July 21, 2003 3:39 PM | Is it ok to drop numRows()? In the apps that I've written with MDB, I don't think I've ever neededtouse numRows(). I was going to say that numRows() is important whendoingpagination, but even in that case, my "Search" classes just rebuild a COUNT(*) version of the query to use for calculating total result set length.Yeah if all you are concerned with is the number of rows then use COUNT(*).