Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

concat in laravel 8


    $users = DB::table('users')->select("*", DB::raw("CONCAT(users.first_name,' ',users.last_name) AS full_name"))
        ->get();
Source by www.nicesnippets.com #
 
PREVIOUS NEXT
Tagged: #concat #laravel
ADD COMMENT
Topic
Name
4+7 =