Select Query in Laravel 5
The query builder can also select existing records using the select method, you can specify a custom select clause for the query.
$getdetail = DB::table('search_logs')
->select('shape', 'color', 'cut')
->get();
Leave a Reply