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