Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to use “find_in_set” in cakephp 3 find method

$data = $this->SpecialOffer->find('all',array('conditions' => array('SpecialOffer.user_id' => $userId ,'FIND_IN_SET(''. $storeId .'',SpecialOffer.stores1)')));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cakephp #find #method
ADD COMMENT
Topic
Name
9+7 =