MDB2 Portability identifiers quoting
| From: | alessandro pasotti | Date: | Thu, 20 Jul 2006 14:06:06 +0000 |
| Subject: | MDB2 Portability identifiers quoting | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24714@lists.php.net to get a copy of this message | ||
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?
--
Alessandro Pasotti
--
itOpen - "Open Solutions for the Net Age"
w3: www.itopen.it
Linux User# 167502