[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] db abstraction for updates?

From: Brad Bulger
Subject: Re: [Phpgroupware-developers] db abstraction for updates?
Date: Tue, 2 Dec 2003 07:29:18 -0800 (PST)

yeap.. when i found myself fixing the same insert command
in multiple places (because the 'everything is a string' mysql
style doesn't mix with postgres 7.3), though, i wondered if there'd
be some value in concentrating the update code a bit... like an
object that knew how to update a particular table, gen'd from
the table schema. or is that too much overhead?

or maybe just a matter of style/taste. i'm coming from working with
the PEAR DB code, so i got used to a parameter-based style.


On Tue, 2 Dec 2003, Chris Weiss wrote:

> just issue INSERT or UPDATE sql commands
> Brad Bulger (address@hidden) wrote:
> >
> > are there plans to add routines to handle inserts and updates to
> > tables via some kind of abstract layer, like the GetUpdateSQL()
> > and GetInsertSQL() functions in adodb 1.31? or do they exist, and it's
> > just a process of applying them in the various components? what
> > i can see - in the 0.9.16 branch code - seems to be mostly
> > read-oriented, but i thought i might just be missing something.
> >
> >
> > _______________________________________________
> > Phpgroupware-developers mailing list
> > address@hidden
> >
> >
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]