how to get a particular column in laravel 8

Solutions on MaxInterview for how to get a particular column in laravel 8 by the best coders in the world

showing results for - "how to get a particular column in laravel 8"
Ambroise
21 Aug 2016
1   $result = DB::Table('table_name')->select('column1','column2')->where('id',1)->get();  
2
queries leading to this page
get a particular column laravelget specific column laravel eloquentlaravel get single column from modelget particular column value in laravelfinding a particular column value in laravel eloquesntget specific column value laravelget single column in laravelohow return a specific column in laravellaravel get particular columnhow to get specific columns data in laravel eloquentget single column value in laravelhow to get a particular value fron column laravel querylaravel get specific column valuereturn a particular column value in laravelhow to get specific column from database in laravelget specific column in laravel eloquentsearch on specific columns laravel scounlarave get specific columnfind specific column in laravellaravel select where get 1 specific columnlaravel all get specific columnselect specific columns from relataion tabels in laravehow to select get particular column values in sql laravellaravel find specific columnhow to get specific column in laravel 8how to get specific column value in laravel 8get specific column laravelhow to particular column in laravel using get 28 29how to find particular single field data in laravelhow to get a particular column in laravel 8how to select specific column in laravelhow to get specific columns in laravelretrieve value of specific column laravelhow to get a particular column value fron laravel queryget specific column values from table laravel queryhow to get single column from a table in laravelhow to get a specific olumn value in laravelhow to get single column in laravelspecific column value get from databse in laravelget certain column in laravelhow to get a particular column in laravel 8