Question : transaction cakephp 2
Answered by : vi-ly
Customer Model
$db = $this->getDataSource(); // $this->Customer->getDataSource()
$db->begin();
$db->commit();
$db->rollback();
Source : | Last Update : Tue, 19 Oct 21
Answered by : vi-ly
Customer Model
$db = $this->getDataSource(); // $this->Customer->getDataSource()
$db->begin();
$db->commit();
$db->rollback();
Source : | Last Update : Tue, 19 Oct 21