Doctrine 2 mapping referencing unique key

后端 未结 2 930
无人及你
无人及你 2021-01-02 11:27

Basic question:

Is it possible to map an association using Doctrine referencing not a primary but only a unique key?

Extended Versio

2条回答
  •  梦谈多话
    2021-01-02 11:45

    Just like following references, Doctrine does not support this type of mapping

    http://www.doctrine-project.org/jira/browse/DDC-1269

    http://www.doctrine-project.org/jira/browse/DDC-1114

    I think it will be helps to you.

提交回复
热议问题