How To Use “find In Set” In Cakephp 3 Find

[Solved] How To Use “find In Set” In Cakephp 3 Find | Php Frameworks Cakephp - Code Explorer | yomemimo.com
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

Answers related to how to use “find in set” in cakephp 3 find method

Code Explorer Popular Question For Php Frameworks Cakephp