Im trying to get three columns of my DB, but I don't get it...
I can use this code. But this way returned all the columns, and only I want three of them.
User::where('name', 'LIKE', $term)->get()
And I know use this other code: But... in them I cannot use the "where" clausule.
User::select(array('id', 'name', 'email'))
Anybody know one way to merge the both codes? Perhaps the only way to do that is using Fluent?