names instead if possible.
Not natively. In this case it's the PHP PDO pgsql driver that performs
the translation.
I suppose many other DB libraries do that in any programming language.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
; is a placeholder and "?"
> is passed through to the database.
>
> (Though I like the ":foo" or "@foo" style named placeholders best)
PDO does support both positional "?" and ":foo" named placeholders.
Adding an option to disable one would probably break much more code and
libraries than just a simple escape character.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
Hi Andrew,
On 04/06/2019 12:38, Andrew Gierth wrote:
>>>>>> "Matteo" == Matteo Beccati writes:
>
> Matteo> https://wiki.php.net/rfc/pdo_escape_placeholders
>
> Matteo> One question that I'm supposed to answer now is: is there an
t couldn't find any match, so I thought it
was worth to try and ask here.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/