I have this query
$this->db->query('UPDATE '.$this->dbprefix.'menu SET ord_id = ord_id-1 WHERE ord_id > ?', $row['ord_id']);
but I want to make this with ActiveRecord
some think like this
$this->db->set('ord_id = ord_id-1');
$this->db->where('ord_id >', $row['ord_id']);
$this->db->update('menu');
can some one help with this problem?
