title: How to return all rows in CodeIgniter?
body: <p>I want to do a trivial SQL query with CodeIgniter, such as <code>"SELECT * FROM mytable WHERE TRUE"</code></p>
  
  <p>maybe one way could be this :</p>
  
  <pre><code>$this-&gt;db-&gt;get_where('mytable' , array('42' =&gt; '42'));
  </code></pre>
  
  <p>but "42"="42" seems unnecessary to me. How can I initialize the array so that it (CI) does not do any unnecessary computations ?</p>