I'm using cpp-driver for cassandra and I want to use prepared statements. Binding parameters is easy except when I'm using IN clause in the query.
What is the correct way to form such query in this case? Below are some examples:
- select * from some_table where pkey = ? AND ckey1 IN (:c1values) AND ckey2 IN (:c2values);
- select * from some_table where pkey = ? AND ckey1 IN :c1values AND ckey2 IN :c2values;
Also, how to bind parameters to the markers?