remove WithConditions

移除 WithConditions
master
xxj 4 years ago
parent dc650df60f
commit cfb3d5edde

@ -72,7 +72,7 @@ func (obj *_BaseMgr) SetIsRelated(b bool) {
// New new gorm.新gorm
func (obj *_BaseMgr) New() *gorm.DB {
return obj.DB.Session(&gorm.Session{WithConditions: false, Context: obj.ctx})
return obj.DB.Session(&gorm.Session{ Context: obj.ctx})
}
type options struct {

Loading…
Cancel
Save