PEAR::DB: auto quote for autoPrepare
| From: | Andreas Korthaus | Date: | Thu, 18 Dec 2003 22:42:15 +0000 |
| Subject: | PEAR::DB: auto quote for autoPrepare | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9691@lists.php.net to get a copy of this message | ||
Hi!
I am thinking if it would be a good idea to implement an auto-quote feature
for autoPrepare and autoExecute. I don't know if there is any reason not to
qoute the data.
And it is very simple to do it while creating the SQL-string from given
array.
Perhaps per extra parameter(qoute=[0|1]) for autoPrepare, or per setting it
as property of the Class.
What do you think about it?
regards,
Andreas