Your Question
I am using gorm's AutoUpdateTime in my struct against a time field. I am using BulkUpsert operation to update an entity but the time stamp is not getting updated.
Here is the field - LastUpdateDate time.Time
gorm:"<-:update;autoUpdateTime"``
Here is the query - gormInstance.BulkUpsert(ctx, tx, &groupEnrolmentEntries, gorm_models.GetGroupEnrolment().TableName(), clause.OnConflict{
Columns: []clause.Column{{Name: "group_id"}, {Name: "user_id"}},
UpdateAll: true,
})
Expected answer
Comment From: mukul-agarwal-wbd
@jinzhu Hey i am sure you guys are doing the best you can, but if someone could look at this soon! thanks
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