function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
luckymeluckyme 

SOQL in operator with tupples?

Anyone knows if I can do something like

select ... from ... where (field1, field2) in {('a1', 'a2'), ('b1', 'b2')}?

 

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
No, this is not supported, you'd need to deconstruct it into individual field comparisons.