Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Transaction

Hello, My question about transation is can i save related models in transaction ?? (Maybe i should put it into try-catch) Is it valid ?

$model->getNextModel()->setSomethink('blabla')->getNextNextModel->setSomethingNew('albaalba'); $model->save();