title: How to Select Certain Fields in Laravel Eloquent?
body: <p>How to Do following Query in Laravel Eloquent?</p>
  
  <pre><code>SELECT catID, catName, imgPath FROM categories WHERE catType = "Root"
  </code></pre>
  
  <p>I have tried following</p>
  
  <pre><code>CategoryModel::where('catType', '=', 'Root')
                  -&gt;lists('catName', 'catID', 'imgPath');
  </code></pre>
  
  <p>but its return only two fields.</p>
  
  <pre><code>Array ( [7] =&gt; Category 1 )
  </code></pre>