Skip to content

feat: support nested delete #6687

@a631807682

Description

@a631807682

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions