Re: PDO statement execute enhancement
| From: | Lukas Smith | Date: | Wed, 09 Aug 2006 11:51:09 +0000 |
| Subject: | Re: PDO statement execute enhancement | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25261@lists.php.net to get a copy of this message | ||
Marian Kostadinov wrote:
Yes, that's my idea - to ignore keys that are not defined as placeholder. And not only for objects but for arrays also.I do not know the implementation in PDO, but the implementation I made in MDB2 only tries to parse the placeholders if it has to emulate or detects that a placeholder type is used that needs to be rewritten for the given RDBMS. If PDO has a similar implementation it would mean now that PDO always has to parse the entire query to determine which keys to ignore. I feel this is suboptimal and therefore I would be opposed to this change. regards, Lukas