Your Question

gorm version: gorm.io/gorm v1.20.6

I want to batch update some fields of the object list. Like: model.objects.bulk_update(list, fields) in python, but I can't find a way in the documentation. Can anyone help me? thank you very much

The document you expected this should be explained

Expected answer

Comment From: jinzhu

https://gorm.io/docs/create.html#Upsert-On-Conflict

the last example

Comment From: imthaghost

Is this still a valid answer?