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
{{ message }}
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.
'Set a key associationKey: with the field name of the association in YAML.'
And in the code example (for Yaml) it shows
associationKey: true
The first statement makes it look as if you can choose a field from your associated entity to use as the primary key for the entity you are mapping - while the second example looks as if you are forced to use the primary Id of the associated entity.
I'm not sure which is correct but they cannot both be.
-Thanks
The text was updated successfully, but these errors were encountered:
http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/composite-primary-keys.html#identity-through-foreign-entities.
Under this section it states that
And in the code example (for Yaml) it shows
The first statement makes it look as if you can choose a field from your associated entity to use as the primary key for the entity you are mapping - while the second example looks as if you are forced to use the primary Id of the associated entity.
I'm not sure which is correct but they cannot both be.
-Thanks
The text was updated successfully, but these errors were encountered: