Describe the feature

无论是select delete还是associate clear方法都无法实现这种效果 db.Model(schema).Where("id in ?", pks).Association("XXX").Clear() db.Where("id in ?", pks).Select("XXX").Delete(schema)

Motivation

Related Issues

Comment From: zhuxianglong

我这边也遇到这种情况,删除的表不对不是关联关系表

Gorm many2many的clear方法无法批量操作 Gorm many2many的clear方法无法批量操作

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