laravel eloquent select one column in array

Solutions on MaxInterview for laravel eloquent select one column in array by the best coders in the world

showing results for - "laravel eloquent select one column in array"
Constantine
02 Jan 2019
1//Select specific Column in array
2$data = ModelClassName::select('columnName')->get()->toArray();