Re: [RFC][Discussion] PDO driver specific parsers
| From: | Calvin Buckley | Date: | Wed, 17 Apr 2024 15:01:08 +0000 |
| Subject: | Re: [RFC][Discussion] PDO driver specific parsers | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123149@lists.php.net to get a copy of this message | ||
On Apr 17, 2024, at 9:24 AM, Matteo Beccati <php@beccati.com> wrote:
>
> Hello everybody,
>
> I'd like to start a discussion on a new RFC about fixing the default PDO SQL parser and
> having (optional) driver-specific parsers.
>
> https://wiki.php.net/rfc/pdo_driver_specific_parsers
>
> Thanks GPB and Tom de Wit for their help with initial proof-reading.
>
>
> Cheers
> --
> Matteo Beccati
>
> Development & Consulting - http://www.beccati.com/
FWIW, ODBC would annoyingly complicate things by not exposing a single
dialect, but it handles placeholders directly, so it hasn't needed to
parse queries. Using standard SQL quoting would probably work for most
drivers though if it comes to it.