laravel eloquent results only select certain columns code example Example: eloquent get only some columns Table::select('name','surname')->where('id', 1)->get();