Cakephp Find In Set

[Solved] Cakephp Find In Set | Php Frameworks Cakephp - Code Explorer | yomemimo.com
Question : cakephp find_in_set

Answered by : handsome-hippopotamus-6r2596v22jhe

$data = $this->SpecialOffer->find('all',array('conditions' => array('SpecialOffer.user_id' => $userId ,'FIND_IN_SET(\''. $storeId .'\',SpecialOffer.stores1)')));

Source : https://stackoverflow.com/questions/9545045/how-to-use-find-in-set-in-cakephp-find-method | Last Update : Wed, 10 Mar 21

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 cakephp find in set

Code Explorer Popular Question For Php Frameworks Cakephp