Re: Research on ?? operators - Mailing list pgsql-general

From Matteo Beccati
Subject Re: Research on ?? operators
Date
Msg-id 28cba2bf-c90b-33c2-6bd7-ff099d981aaf@beccati.com
Whole thread Raw
In response to Re: Research on ?? operators  (Michael Lewis <mlewis@entrata.com>)
List pgsql-general
Hi Michael,

On 04/06/2019 14:35, Michael Lewis wrote:
> /":foo" named placeholders/
> 
> If I may, is this supported natively in Postgres prepared statements?
> Can I see an example? I do not care much for the numbers of positional
> placeholders and would love to use 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/



pgsql-general by date:

Previous
From: Michael Lewis
Date:
Subject: Re: Research on ?? operators
Next
From: Steve Atkins
Date:
Subject: Re: Research on ?? operators