Re: DB wishlist

From: Date: Wed, 21 Jan 2004 13:32:10 +0000
Subject: Re: DB wishlist
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25209@lists.php.net to get a copy of this message
On Jan 21, 2004, at 6:50 AM, Aidan Lister wrote:
Do you think it would be possible to add some statistical support into DB? Although I'm sure this is considered extra bloat, it's hard to implement simply by extending the class. What I'd like to be able to retrieve is: Number of queries, Total execution time. Assuming that was easy enough, how about: an array of: query number query time query I'm sure this'll get rejected as unwanted bloat, but I'd like to know how many other people would also like this functionality. (If there's a really simple way to extend the DB class to do this, I'm welcome to suggestions.
I can easily add this to DB_Table, when Daniel gets around to looking at it. I assume he's been too busy with the current release to really pay attention to new stuff. The DB_Table source (a little out of date now) and documentation wiki are here:
    http://yawp.dnsalias.net/view.php?wiki=DbTable
The proposal (no call for votes yet) is here:
    http://pear.php.net/pepr/pepr-proposal-show.php?id=14
-- Paul M. Jones pmjones@ciaweb.net Savant: the simple alternative to Smarty. http://phpsavant.com/

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