-
Notifications
You must be signed in to change notification settings - Fork 856
Closed
Labels
type/docsDocumentation creation, updates or correctionsDocumentation creation, updates or corrections
Description
Dev work is PR #2415
Per Flavian:
Any MongoDB datamodel with self relations or cycles between 3 models will be forced to set some specific referential actions to prevent the referential action emulations from looping infinitely (eg: Cascade cannot work).
The rules and examples have already been all written for SQL Server here. And here
These limitations exist as soon as you enable the referentialIntegrity = "prisma" mode. Since it’s enabled for MongoDB by default, it’s the primary target for this change.
Proposal is that we create a different page based on the SQL Server one for the prisma referentialIntegrity mode and there explain how that affects MongoDB.
Note: The Multiple cascade paths between two models chapter do not apply though.
Metadata
Metadata
Assignees
Labels
type/docsDocumentation creation, updates or correctionsDocumentation creation, updates or corrections