Re: DB_DataObjects and quoted field names

From: Date: Tue, 13 Jul 2004 19:38:14 +0000
Subject: Re: DB_DataObjects and quoted field names
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13678@lists.php.net to get a copy of this message
On Tue, 13 Jul 2004 12:00:48 -0700, Ed Greenberg <edg@greenberg.org> wrote: > I've inherited a database which uses a reserved word as a column name. In > order to interact with this column, I need to have the table name(s) quoted. > [snip] I implemented this feature a little while back. Just put this line in your DataObject.ini: quote_identifiers = 1 All table and column names will then be quoted. P.S. I also implemented the DB functionality to do this. ;-) -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

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