= core * db * http://codeigniter.com/user_guide/database/active_record.html * se pueden concatenar: ''$query = $this->db->order_by(campo)->get(tabla)'' * ''$this->db->select(',,');'' * ''$this->db->select_max('','');'' * ''$this->db->select_min('','');'' * ''$this->db->select_avg('','');'' * ''$this->db->select_sum('','');'' * ''$this->db->distinct()'' * ''$this->db->from('');'' * ''$this->db->join('','');'' * ''$this->db->count_all('')'' * ''$this->db->order_by('','asc|desc')'' * ''$this->db->group_by('','asc|desc')'' * ''$this->db->where('','valor')'' * ''$this->db->where_in('','array_valores')'' * ''$this->db->where_not_in('','array_valores')'' * ''$this->db->or_where_in('','array_valores')'' * ''$this->db->or_where_not_in('','array_valores')'' * ''$this->db->or_where('','valor')'' * ''$this->db->like('','valor')'' * ''$query = $this->db->get('',limite,offset)'' * ''$query->result()'' * ''$query->num_rows'' * ''$query = $this->db->getwhere('',array(''=>,''=>variable);'' <- auna el where y el get en una instrucción * ''$this->db->insert('',);'' * ''$this->db_insert_id()'' * ''$this->db->update('',);'' <- utilizar antes ''$this->db->where()'' * ''$this->db->delete('');'' <- utilizar antes ''$this->db->where()'' * output * ''$this->output->enable_profiler(TRUE);'' * benchmark * ''$this->benchmark->mark('');'' * ''$this->benchmark->elapsed_time('','');'' * router * ''$this->router->method'' -> último método llamado