You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DELETE queries which require joins (also known as multi-table delete) are not currently supported by Fluent (or even by SQLKit), due to the lack of consistent support or syntax between different databases. Reclassifying as a high-priority feature request.
Experienced the same issue.
Probably reported in the wrong place but here it is: vapor/fluent#748
I added logs and examples of the corresponding SELECT query in the OP.
Describe the bug
Anytime a
join
orwith
are involved in a delete query, I receive the follow error:Here's an example of query which fails:
Here's the workaround
In both cases
WorkoutGroup
is a parent ofWorkoutSchedule
.To Reproduce
Packages in use:
Expected behavior
Shouldn't need to query
all
todelete
Environment
The text was updated successfully, but these errors were encountered: