Re: Research on ?? operators

From: Matteo Beccati <php(at)beccati(dot)com>
To: Michael Lewis <mlewis(at)entrata(dot)com>
Cc: Steve Atkins <steve(at)blighty(dot)com>, PG mailing List <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Research on ?? operators
Date: 2019-06-04 12:40:25
Message-ID: 28cba2bf-c90b-33c2-6bd7-ff099d981aaf@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2019-06-04 12:44:34 Re: Research on ?? operators
Previous Message Michael Lewis 2019-06-04 12:35:10 Re: Research on ?? operators