How would you write the following query in Laravel style?
SELECT * FROM `job_details` WHERE `job_title` LIKE '%officer%' AND `category_id` = 1 AND `city_id` = 1
I tried something below but it does not work:
DB::(job_details)->where(job_title LIKE '%officer%')->and(category_id=1)->and(city_id=1)