Yes - use :1 instead of ?1

On Thu, Dec 8, 2016 at 12:11 PM Cheyenne Forbes <
[email protected]> wrote:

> So instead of doing:
>
>   query("select from table where c1 = ? or c2  = ?",  [my_id, my_id])
>
> i would do:
>
>   query("select from table where c1 = ?1 or c2  = ?1",  [my_id])
>
>
>

Reply via email to