title: Select time from base as UNIX_TIMESTAMP(time) laravel 5
body: <p>I have in base field with type <code>datetime</code>, it's <code>time</code> field. I want to get all elements from base and get additional <code>timeu</code> field - it's <code>UNIX_TIMESTAMP(time)</code>. I try to do this by add <code>-&gt;select('*','UNIXTIMESTAMP(time) AS timeu')</code> but Laravel gives me error. I need it to use in <code>-&gt;keyBy()</code>. I have next error:</p>
  
  <pre><code>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'UNIX_TIMESTAMP(time)' in 'field list' (SQL: select *, `UNIX_TIMESTAMP(time)` as `timeu` from `values` where UNIX_TIMESTAMP(time) &lt;= 1429135199 and UNIX_TIMESTAMP(time) &gt;= 1428444000 order by `id` asc)
  </code></pre>
  
  <p>How can I fix it?</p>