Re: Change PDO quoting
| From: | Sara Golemon | Date: | Fri, 12 May 2006 15:02:10 +0000 |
| Subject: | Re: Change PDO quoting | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23307@lists.php.net to get a copy of this message | ||
It depends on the driver you're using and (typically) how that driver's client library chooses to quote NULL values. For some it does precisely this already.
-Sara
----- Original Message ----- From: ""Marian Kostadinov"" <manchokapitancho@gmail.com>
Newsgroups: php.internals
To: <internals@lists.php.net>
Sent: Friday, May 12, 2006 4:18 AM
Subject: Change PDO quoting
As it is a time of big changes and incompatibilities,
maybe it is a good moment to change PDO::quote method
to quote NULL to NULL instead of an empty string.
This is the consistent behaviour, don't you think?