post by heruprambadi on Apr 19, 2024

post by kapilchugh on Apr 19, 2024

I guess there is no direct way but this is how I am using it.

$conditions['( (status = ? or status = ?) AND entry_allowed_to >= ? OR (status = ?) )'] =  ['Submitted', 'Completed', $todayEndtime, 'TEMP'];

post by heruprambadi on Apr 20, 2024

Yes, there is a direct way. I solve this problem using this :

$crud->where(['parameter' => array('aa', 'bb', 'cc', 'dd')]);

I think this should be included in the documentation.

post by johnny on Apr 20, 2024

1 / 4
Apr 2024