虽然我们能够创建新节点等,但我们仍在努力寻找如何添加属性 现有关系。 例如,我们以实体格式声明以下内容: p>
/ **
* @OGM \ ManyToMany(relation =“GOES_TO_MARKET”)
* /
protected $ shoppers;
code> pre>
我们如何制作它以便我们可以使用doctrine格式向GOES_TO_MARKET添加其他属性? p>
谢谢 p>
div>
while we are able to create new nodes etc., we are still struggling to find out how properties can be added to existing relationships. For instance we are declaring the following in an Entity format:
/**
* @OGM\ManyToMany(relation="GOES_TO_MARKET")
*/
protected $shoppers;
How do we make it so that we can add additional properties to GOES_TO_MARKET using doctrine format?
Thanks
虽然我们能够创建新节点等,但我们仍在努力寻找如何添加属性 现有关系。 例如,我们以实体格式声明以下内容: p>
/ **
* @OGM \ ManyToMany(relation =“GOES_TO_MARKET”)
* /
protected $ shoppers;
code> pre>
我们如何制作它以便我们可以使用doctrine格式向GOES_TO_MARKET添加其他属性? p>
谢谢 p>
div>