Re: Re[2]: [PHP-PEAR] PHPLib and Pear merge
| From: | (Stig Sæther Bakken) | Date: | Sat, 10 Mar 2001 00:18:01 +0000 |
| Subject: | Re: Re[2]: [PHP-PEAR] PHPLib and Pear merge | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1762@lists.php.net to get a copy of this message | ||
[Maxim Derkachev <kot@books.ru>]
>
> PEAR::DB, instead do have some crucial limitations in its current
> state. E.g. why don't bother to include support for accessing number
> of rows affected by the insert/update/delete query? It is supported
> by almost any mainstream database available. Why don't bother to
> count number of rows returned by select? It is one of most needed
> things in web development. It is natively supported by many
> databases (e.g. Mysql, Postgres), and can be easily emulated (or, in
> any case, the method could return 'not supported' for performance
> reasons) for those that don't support this.
Well, DB has affectedRows(), it is currently supported in mysql, oci8
and pgsql. The others return a "not capable" error.
> PEAR::DB eats much more resources then DB_Sql and can't afford those
> simple things which could be done in half an hour or less?
Please, if you want to complain, at least make sure you complain about
the latest version.
- Stig
--
Stig Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway