title: Codeigniter Active record: greater than statement
body: <p>I'm trying to convert a "greater than" where statement to CI's Active Record syntax. When I use this snippet</p>
  
  <pre><code>    $this-&gt;db-&gt;join('product_stocks', "product_stocks.size_id_fk = product_attributes.id", "left");
      $this-&gt;db-&gt;where('product_stocks.stock_level', '&gt; 1');      
      $result = $this-&gt;db-&gt;get('product_attributes')-&gt;result_array();
  </code></pre>
  
  <p>Then print $this->db->last_query(); shows <code>WHERE</code>product_stocks<code>.</code>stock_level<code>= '&gt; 1'</code> which is of course not correct. Can this be done?</p>