On Apr 17, 2024, at 9:24 AM, Matteo Beccati <p...@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.