gorm icon indicating copy to clipboard operation
gorm copied to clipboard

feat: support nested delete

Open a631807682 opened this issue 1 year ago • 5 comments

Describe the feature

Support nested Delete by .Select("A.B").Delete(...) just like .Preload("A.B").Find(...)

Motivation

At present, gorm already supports nested Preload and Joins. If we use nested Delete at this time, we will find that it will not take effect because we do not support it yet.

If anyone is interested in the above tasks, please leave a message in the comments.

Related Issues

https://github.com/go-gorm/gorm/pull/6137 https://github.com/go-gorm/gorm/pull/6067

a631807682 avatar Nov 14 '23 03:11 a631807682

@a631807682 You can assign this to me.

saeidee avatar Nov 14 '23 10:11 saeidee

i want to do this, plase assign to me.

fengyuwusong avatar May 20 '24 09:05 fengyuwusong

i want to do this, plase assign to me.

thanks

a631807682 avatar May 21 '24 01:05 a631807682

any progress?

xray-bit avatar Jul 16 '24 12:07 xray-bit