Your Question
Looking to do something like
INSERT INTO `table` (...) VALUES (...) ON DUPLICATE KEY UPDATE `points`=`points` + 10
I found this in the official docs
But when I try, it prompts
OnConflict clause assignment with gorm.Expr is banned for security reasons for now
Is it possible to add two values in an OnConflict clause in GORM?
Comment From: Nomango
Seems like a problem of gorm/gen. Just close this issue.