Thursday, December 23, 2010

Re: how to use transactions in cakephp

Hi Jon

> Use innodb and connect your keys/tables correctly.
> Use saveAll not save and it will wrap all the SQL into a single transaction.

Are you suggesting an alternative to http://book.cakephp.org/view/1633/Transactions
?

Unfortunately the 7 models are not interrelated to each other, some
are of course related.

So i am not sure if saveAll allows that non interrelated models.

Thank you.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate