Re: [Patch] for DB to support table and column quoting

From: Date: Wed, 10 Dec 2003 23:38:11 +0000
Subject: Re: [Patch] for DB to support table and column quoting
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24342@lists.php.net to get a copy of this message
Justin Patrin wrote: > Attached is a patch which adds the quoteEntity() function. This function > is meant to provide quoting for table and column names, primarily to > allow use of reversed words for table and column names. > > quoteEntity() should be overridden per driver as needed, just as quote() > is. I have included functions for mysql.php and oci8.php. > > I have also added a small fix for the oci8 connect function to allow for > connections without a TNS name set. > Sorry about that, forgot to attach the patch. I also plan on submitting a patch for DB_DataObject that makes use of this. -- paperCrane <Justin Patrin>

« previous php.pear.dev (#24342) next »