Transaksi CakePHP 2

Customer Model

$db = $this->getDataSource();  // $this->Customer->getDataSource()
$db->begin();

$db->commit();
$db->rollback();
  
Zidane (Vi Ly - VietNam)