eloquent get only some columns

107

eloquent get only some columns -

Table::select('name','surname')->where('id', 1)->get();

Comments

Submit
0 Comments