Replies: 1 comment 5 replies
-
I'm sorry, I don't understand the question. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It JoinColumn attribute should be mark as Attribute::IS_REPEATABLE ? When you add e.g
#[ORM\JoinColumn(nullable: false)] - wrong added line
#[ORM\JoinColumn(name: 'invoice_id', referencedColumnName: 'id', nullable: true)]
then then findOneBy(['invoice'=>$invoice]) - build wrong sql query with double invoice_id in where part
Beta Was this translation helpful? Give feedback.
All reactions