Reputation: 544
I need to get the join table column name (ex: underscored_entity_id) for a OneToMany association in Symfony 6.
The metadata associationMappings for a OneToOne has joinColumns which has referencedColumnName.
How do I get this same data for a OneToMany?
Wound up getting it from the inverse association. Is there any way to get it without going through that?
Upvotes: 0
Views: 13