How to select specific columns in laravel eloquent
<p>lets say I have 7 columns in table, and I want to select only two of them, something like this</p>

<pre><code>SELECT `name`,`surname` FROM `table` WHERE `id` = '1';
</code></pre>

<p>In laravel eloquent model it may looks like this</p>

<pre><code>Table::where('id', 1)-&gt;get();
</code></pre>

<p>but I guess this expression will select ALL columns where id equals 1, and I want only two columns(name, surname). how to select only two columns?</p>