I am calling multiple models in controllers and all models do database query. i did something like this
public function InsertSale()
    {
            $this->db->trans_start(TRUE);
            // all logic part and models calling which do insert/update/delete
            $this->db->trans_complete();
}
Above code is not working even if something fails after some queries they dont rollback.
 
     
     
     
    