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
I found the sql in gorm log is INSERT INTO ... ON DUPLICATE KEY UPDATE id=id.
Why clause.OnConflict{DoNothing: true} using ON DUPLICATE KEY UPDATE id=id actually?Not INSERT IGNORE
The document you expected this should be explained