Hi,
I wish to have an IN condition within the defaultScope() of a model.
How would I return this in the array?
Thanks
Hi,
I wish to have an IN condition within the defaultScope() of a model.
How would I return this in the array?
Thanks
Hi,
you can use this
$criteria->addCondition('status IN (1,0)');
Thanks,
That was what I discovered, thought maybe there was a way to do it within an array that you pass back