Re: Using "where col in (?)"

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Blake McBride <blake1024(at)gmail(dot)com>
Cc: "pgsql-jdbc(at)lists(dot)postgresql(dot)org" <pgsql-jdbc(at)lists(dot)postgresql(dot)org>
Subject: Re: Using "where col in (?)"
Date: 2022-04-29 15:43:41
Message-ID: CAKFQuwbeEaRCz5Txp1fngrBd7rfbo8eiwpH0LN8zR+3Qu0yESg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Friday, April 29, 2022, Blake McBride <blake1024(at)gmail(dot)com> wrote:

> I am wanting it to do the same as: select * from se_user where user_id
> in (3, 4, 5)
>

Then rewrite the query to use the “val = any(array)” expression like I said.

David J.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Blake McBride 2022-04-29 15:44:24 Re: Using "where col in (?)"
Previous Message Blake McBride 2022-04-29 15:40:48 Re: Using "where col in (?)"