Save data using transaction
Hi, I am saving complex object with 5-10 childrens that have relations.
So I am saving parent, then saving child and saving relation between. And retry 5-10 times.
If I will get an errand or connection error I want to be able to remove half created object or handle it somehow, some kind of transaction.
Are there any ways to do it or what is the best practice for that?
Thanks, best, Nick.