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
When performing fixup, the state manager needs to lookup instance where LeftId and RightId match. This fast when these types form the composite PK of the type. In this case Id is the PK, and hence there isn't a way to do a fast lookup for matches of LeftId and RightId.
To fix this, we should create an alternate key for what would usually be the PK in the join table. However, we should likely only do this after #4073 is implemented to avoid making it impossible to change these values, although it does seem unlikely that changing them would be useful.
The text was updated successfully, but these errors were encountered:
Consider this many-to-many join type:
When performing fixup, the state manager needs to lookup instance where
LeftId
andRightId
match. This fast when these types form the composite PK of the type. In this caseId
is the PK, and hence there isn't a way to do a fast lookup for matches ofLeftId
andRightId
.To fix this, we should create an alternate key for what would usually be the PK in the join table. However, we should likely only do this after #4073 is implemented to avoid making it impossible to change these values, although it does seem unlikely that changing them would be useful.
The text was updated successfully, but these errors were encountered: