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
We refer to @keys as "primary keys" in various places, but @key doesn't align well with the actual definition of a PK so it's a misnomer that might add confusion. We allow multiple keys and varying keys on the same entity from one subgraph to another, whereas there can only be one PK in a database context. In most cases @key will be used as a PK so it can be helpful to build the mental model but it should be clear that that isn't a constraint that @key is bound to.
The text was updated successfully, but these errors were encountered:
We refer to
@key
s as "primary keys" in various places, but@key
doesn't align well with the actual definition of a PK so it's a misnomer that might add confusion. We allow multiple keys and varying keys on the same entity from one subgraph to another, whereas there can only be one PK in a database context. In most cases@key
will be used as a PK so it can be helpful to build the mental model but it should be clear that that isn't a constraint that@key
is bound to.The text was updated successfully, but these errors were encountered: