Nested disconnect fails with extendedWhereUnique
on SQL
#16843
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/engines
Issue for tech Engines.
topic: extendedWhereUnique
Preview Feature
Milestone
Bug description
Consider this datamodel
And say you run this query
The query will fail on the
UPDATE
statement because it's lacking a join to checkChild.non_unique
.Expected behavior
The query should work regardless of where the relation is inlined.
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: