I am trying concat first name and last name in Laravel but it's not working. i am using mongo db
i was tried this sql query but its not working
->orWhere(\DB::raw("CONCAT(`last_name`, ' ', `first_name`)"), 'LIKE', "%".$search."%");
can anyone find the alternate solution of concat in mongodb
Thank you in advance