Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support nested delete #6687

Open
a631807682 opened this issue Nov 14, 2023 · 3 comments
Open

feat: support nested delete #6687

a631807682 opened this issue Nov 14, 2023 · 3 comments
Assignees

Comments

@a631807682
Copy link
Member

a631807682 commented Nov 14, 2023

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

#6137
#6067

@saeidee
Copy link
Member

saeidee commented Nov 14, 2023

@a631807682 You can assign this to me.

@a631807682 a631807682 assigned saeidee and unassigned a631807682 Nov 14, 2023
@fengyuwusong
Copy link

i want to do this, plase assign to me.

@a631807682 a631807682 assigned fengyuwusong and unassigned saeidee May 21, 2024
@a631807682
Copy link
Member Author

i want to do this, plase assign to me.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants