Question : how to use “find_in_set” in cakephp 3 find method
Answered by : ahsan-habib-3ts9b0ozoyzt
$data = $this->SpecialOffer->find('all',array('conditions' => array('SpecialOffer.user_id' => $userId ,'FIND_IN_SET(''. $storeId .'',SpecialOffer.stores1)')));
Source : | Last Update : Wed, 19 Jan 22