How to do a multiple select with raw query using Eloquent in Laravel 5.1
<p>I made a query which gets all the column data of a table and an additional custom column aliased as 'distance'. Right now the query looks like this:</p>

<pre><code>$restaurants = DB::table(DB::raw('restaurants'))
    -&gt;select(
        'restaurants.id',
        'restaurants.name',
        'restaurants.about',
        'restaurants.contact_details',
        'restaurants.address',
        'restaurants.city',
        'restaurants.lat',
        'restaurants.long',
        'restaurants.cuisines',
        DB::raw(*some computation here* . " as distance")
    )
    -&gt;get();
</code></pre>

<p>Basically, my query should look like this in SQL:</p>

<p><code>SELECT *, *some computation here* as distance FROM restaurants</code></p>

<p>Is there a way to simplify this using Eloquent? Right now I need to manually specify all the columns just so I could add the DB::raw select statement.</p>