I\'m trying to convert a \"greater than\" where statement to CI\'s Active Record syntax. When I use this snippet
$this->db->join(\'product_stocks\'
You Can also Pass a String parameter to where() function like this,
$this->db->where('product_stocks.stock_level > 1');