RE: [PEAR] Problem using PEAR::DB

From: Date: Fri, 26 Sep 2003 15:16:28 +0000
Subject: RE: [PEAR] Problem using PEAR::DB
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8063@lists.php.net to get a copy of this message
On Fri, 2003-09-26 at 10:58, Lukas Smith wrote: > > From: patrick.allaert@belgacom.be [mailto:patrick.allaert@belgacom.be] > > Sent: Friday, September 26, 2003 4:56 PM > > > It should be nice having a support for "batch querying" in PEAR::DB... > > The DB_common should implement a function splitting the queries... > > and the specific DB_* (mysql, oci8, sybase,..) should call this > splitting > > functions > > if unable to deal with "batch queries". > > > > What do you think about this suggestion ? > > not sure I fit is feasible to go that route as it means the query needs > to be parsed every time. Might go well as a PECL extension, with fall back on a PHP encoded splitter when no extension exists. I think this would be a pretty nice feature. Oh why, oh why, oh why, does every database server have to do something different :) Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.pear.general (#8063) next »