I would like to write a condition like the following with JOOQ
AND (id,name) IN (('id1','name1'),('id2','name2'),...)
I tried this syntax
Condition condition= DSL.concat(idField,nameField).in("");
which generates
concat(cast(`id` as char), cast(`name` as char)) in ('id1name1',"id2name2",....))
But this solution lead to a huge performance issue by skipping indexes
I've no clue of how to get the two fields together
Thanks for your help