eloquent get only some columns

103

eloquent get only some columns -

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

Comments

Submit
0 Comments