Re: MDB2 Portability identifiers quoting
| From: | Lukas Smith | Date: | Thu, 20 Jul 2006 22:03:58 +0000 |
| Subject: | Re: MDB2 Portability identifiers quoting | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24715@lists.php.net to get a copy of this message | ||
alessandro pasotti wrote:
Hello again, Unfortunately I'm working on an existing MySQL DB where many field names are reserved words in other RDBMS such as POSTGRESQL, the fields are named for example: user password type ecc... This provoke errors with autoExecute inserts, I ended up with quoteIdentifiers() the keys of $data array. Do you think is it possible/useful to add some options to automatically quote identifiers?$mdb2->setOption('quote_identifiers', true); regards, Lukas