Re: Re[2]: [PHP-PEAR] PHPLib and Pear merge

[email protected] ((Stig Sæther Bakken)) 10 Mar 2001 01:18:01 +0100
Newsgroups php.pear
Message-ID <[email protected]>
[Maxim Derkachev <[email protected]>]
>
> 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 <[email protected]>
  Fast Search & Transfer ASA, Trondheim, Norway