Ah, thanks, good catch. If I send a List / Array as value for the last param, will that get bound as expected?
On Tue, Oct 11, 2016 at 7:16 PM, horschi <hors...@gmail.com> wrote: > Hi Ali, > > do you perhaps want "'Select * from my_table WHERE pk = ? And ck IN ?'" ? > (Without the brackets around the question mark) > > regards, > Ch > > On Tue, Oct 11, 2016 at 3:14 PM, Ali Akhtar <ali.rac...@gmail.com> wrote: > >> If I wanted to create an accessor, and have a method which does a query >> like this: >> >> 'Select * from my_table WHERE pk = ? And ck IN (?)' >> >> And there were multiple options that could go inside the IN() query, how >> can I specify that? Will it e.g, let me pass in an array as the 2nd >> variable? >> > >