Skip to content

feat(base-model): allow transaction on save/saveGraph

Andrei Mihăeș requested to merge save-graph-transaction into master

Summary

At the moment, save() method from the BaseModel will execute the query inside a transaction only if the entity is being updated. In scope of this merge request save and saveGraph methods were updated to support transactions.

Edited by Andrei Mihăeș

Merge request reports