Combining $userModel->save() with Transactions |
Hi,
I have a pretty complex form that requires multiple table rows to be either inserted, updated or a combination of the two. I was wondering if it is at all possible to use the $userModel->save() in conjunction with tranaction as this would be a very convenient way of updating my table without the need for a complex rollback function, something like? PHP Code: protected $table = 'mytable'; Thanks in advance ![]() |
Welcome Guest, Not a member yet? Register Sign In |