Where and or_where

I need a clause with a “where” and an “or_where” condition together in GC: 2.0.2 CE:
WHERE x=a AND (y=b OR y=c)

How do I have to code this together:
$crud->where('x', a);
and ???

In deed, I’m looking for a WHERE x=a AND y IN(b, c)
Can someone point me to the direction please?

Hello @marneu ,

I hope this helps:

$crud->where([
    'x' => 'a',
    'y' => ['b', 'c']
]);