Reputation: 25
I am using Symfony2 and Doctrine for a project and need to do lots of database operations in transactions.
try {
// do db operations
} catch(\Exception $e) {
// rollback here
}
My question is the following: Is there a difference between ->rollback() and ->rollBack() ? If there is, what is it?
Thanks in advance...
Upvotes: 1
Views: 753