Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "I have a mysql query when i run this query into mysql platform . it works fine but i am not able to convert it cakephp style query so
- My sql query is this =
- "select e.id, f.max_epc_q1,f.max_epc_q2,f.epc_provider,h.email,g.id from product e
- i have converted this query in to cakephp style query but it is not giving correct result
- My converted query in cakephp style are =
- $conditions['conditions']['AND'][] = array('Product.category_id =' => 2,'Product.country =' => 'CA');
- $conditions['fields'] = array('Product.id','Advertiser.id','ProductAttribute.max_epc_q1','ProductAttribute.max_epc_q2'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement