title: Kohana database select, list of fields
body: <p>In Kohana if I want to select fields 'id', and 'username' I do it this way:</p>
  
  <pre><code>$record = DB::select('id', 'username')
                      -&gt;from('users')
                      -&gt;where('id', '=', 1)
                      -&gt;as_object()
                      -&gt;execute();
  </code></pre>
  
  <p>But how to do it if the list of fields I need to select is in an array, like this:</p>
  
  <pre><code>$fields = array('id', 'username');
  </code></pre>
  
  <p>How to use DB::select in this situation?</p>