public function delete() { $this->db->trans_start(); $this->db->where('journeyId', $this->id); $affected = $this->db->delete('bookings') + parent::_delete($this->id); $this->db->trans_complete(); return $affected; }
public function delete($id) { parent::_delete($id); }