I am using cakephp 3 to replace with a static word in place of null/empty column value.
For Example :- I have a product table which contain id,price,image, I need to fetch all the records but which product's does not have image, it should return "no_image.jpg" in place of null/empty.
Like : SELECT if(image='','no_image.jpg', image), id, price FROM user_images. how can i convert above query in cakephp 3. Thanks in Advance.