Your Question
The document you expected this should be explained
Expected answer
Comment From: xuxing421
GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
You can disable it by setting SkipDefaultTransaction to true
如上,如果不显式设置SkipDefaultTransaction为true,DML操作会默认开启事务
Comment From: github-actions[bot]
This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days