[Bug?] [Documentation] Implicit n:m in prisma does not have @@id
(*explicit* does)
#9287
Closed
1 task done
Labels
bug/needs-info
More information is needed for reproduction
What's not working?
I was trying to understand how to create SDL for a composite primary key (but failed so far so asked over here) which led me to https://redwoodjs.com/docs/schema-relations#many-to-many-relationships which mentions the
@@id
token. There it says:Looking at the prisma docs for implicit vs. explicit n:m relations, it shows clearly that only explicit have an
@@id
primary key.The Redwood docs go on to say:
That is true, there is no
@id
field in implicit (but there is, however, a composite primary key in explicit) relationships.So what is unclear about reading this section (and browsing the page) is:
@@id
) at all?The text was updated successfully, but these errors were encountered: