Sunday, 18 August 2013

How to handle database transaction in doophp?

How to handle database transaction in doophp?

I am new in DooPhp. I don't know how to handle transaction in doophp ?
I am trying to insert multiple model at same time.
For Example :
Doo::db()->insert($modelOneObject);
Doo::db()->insert($modelTwoObject);
How to handle transaction in this situation ?

No comments:

Post a Comment