Orda: query with array

We use the QUERY WITH ARRAY quite often because it’s a powerful simple function.
How to achieve this in ORDA?

Thanks in advance for taking time to apply an example.

Hi Jelle,

The query() member method on dataclass and entity selection can use an IN operator.

Here is the documentation
https://doc.4d.com/4Dv17R6/4D/17-R6/dataClassquery.305-4311816.en.html

And an example:

$entitySelection:=ds.Employee.query(“firstName in :1”;New collection(“Kim”;“Dixie”))

Thanks Marie-Sophie, must have read over that option. But that solves the issue!