I\'m very new to CodeIgniter and Active Record in particular, I know how to do this well in normal SQL but I\'m trying to learn.
How can I select some data from one
function getCount(){ return $this->db->get('table_name')->num_rows(); }