Re: PEAR:DB - How to count the queries times?
| From: | Stefan Neufeind | Date: | Wed, 14 Apr 2004 11:00:15 +0000 |
| Subject: | Re: PEAR:DB - How to count the queries times? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-27626@lists.php.net to get a copy of this message | ||
Only solution I can think of is build a class derived from DB and encapsulate
query() to do the statistics for you. Should be doable without too much of a
problem, if I got your question right.
Stefan
On Wed, 14 Apr 2004 at 09:49:01, Aidan Lister wrote:
> you can't
>
> "aî¿" <postmaster@openphp.cn> wrote in message
> news:php.pear.dev-27513@news.php.net...
> > Hello, Everyone~~
> >
> > I wan't to count how many DB queries in one request , how can I do?
> > And How can I get all queries' strings which have run?
> > Thanks everyone ..