Re: Re: DB : affectedRows() on an UPDATE query ?

From: Date: Thu, 09 Aug 2001 11:48:24 +0000
Subject: Re: Re: DB : affectedRows() on an UPDATE query ?
References: 1 2 3 4 5  Groups: php.dev php.pear.dev 
Request: Send a blank email to php-dev+get-62710@lists.php.net to get a copy of this message
[Manuel Lemos <mlemos@acm.org>] > > Ok, but it is fair to say that it is not supported in all PEAR-DB > backends even if it is just a limitation of PHP Interbase API. > > Maybe sometime later somebody adds a ibase_affected_rows() function, but > PHP scripts can't assume that the function exists because the PHP > version that is installed may not have such function yet. > > I suggest that somebody apply that patch and PHP scripts that use > function_exists() function to figure if PHP Interbase API can figure the > number of affected rows. Jouni Ahto has said he'll commit the ibase_affected_rows() patch and other patches soon when he gets some time. We'll add it to PEAR DB then, and return "not capable" if the function does not exist. Hopefully we'll have it by PHP 4.0.7. - Stig -- Stig Sæther Bakken <ssb@alltheweb.com> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.dev (#62710) next »