title: Query a date range with DMZ DataMapper and CodeIgniter
body: <p>I cannot find the solution in the docs for this simple problem.</p>
  
  <p>I want to fetched a set of objects from the database in a specific date range.
  I'm using DMZ Datamapper in the CodeIgniter environment.</p>
  
  <pre><code>    $items = new Entity();
      $items-&gt;where('date_created', 'date1 &lt; x &lt; date2'); 
      $items-&gt;get();
  </code></pre>
  
  <p>Maybe one needs to use the $items->where_in_func(...) method?</p>