RE: [PEAR] Problem using PEAR::DB
| From: | Lukas Smith | Date: | Fri, 26 Sep 2003 15:18:43 +0000 |
| Subject: | RE: [PEAR] Problem using PEAR::DB | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8064@lists.php.net to get a copy of this message | ||
> From: Robert Cummings [mailto:robert@interjinn.com]
> Sent: Friday, September 26, 2003 5:16 PM
> To: Lukas Smith
>
> 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 :)
Well I can say that there is work going on for database ext in the
extension world. We will see when its ready and pear-dev's are ensuring
that we can immediately benfit from the results.
Regards,
Lukas