We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e = stat.DB().Model(stat).Clauses(clause.OnConflict{ //Columns: nil, //Where: clause.Where{}, //TargetWhere: clause.Where{}, //OnConstraint: "", //DoNothing: false, //DoUpdates: nil, UpdateAll: true, }).Create(&stat).Error INSERT INTO `stat` (`date`,`reg`,`active`,`connect`,`online_device_num`,`download`,`download_android`,`download_linux`,`install`,`uninstall`) VALUES ('2024-04-08 16:33:05.293',1,1,1,1,1,2,3,4,5) ON DUPLICATE KEY UPDATE `id`=`id` ON DUPLICATE KEY UPDATE 后面的字段未展开并填充
The text was updated successfully, but these errors were encountered:
gorm v1.25.9 mysql v8.0.36
Sorry, something went wrong.
jinzhu
No branches or pull requests
Your Question
The document you expected this should be explained
Expected answer
The text was updated successfully, but these errors were encountered: