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\'
I think this should do the trick:
$this->db->where('product_stocks.stock_level >', '1'); //moved the >