You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GORM perform write (create/update/delete) operations run inside a transaction to ensure data consistency, you can disable it during initialization if it is not required
Your Question
Assuming I do not disable the default transaction, when does the commit happen?
Document Link
https://gorm.io/docs/transactions.html
Your Question
Assuming I do not disable the default transaction, when does the commit happen?
E.g.:
Does this change get commited? If so - when?
Do I need to call
.Commit()
manually? If so - when?Expected answer
The text was updated successfully, but these errors were encountered: