On Apr 30, 2007, at 7:17 AM, xavi wrote:
> > Hello! > > I'm looking for information about sql transactions in Cake with Mysql5 > > I'm using 3 models with 3 separates $this->themodel->save($data), and > I'm interested i control the transaction itself, doing a commit after > 3 save will be ok. > > Is this possible? > I've only read the $model->transaction boolean, but no info about how > to use it. You might try using $this->ModelName->execute() and ->query() to get your transactional statements processed. -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
