L
L
liteppuano2018-08-14 16:15:16
symfony
liteppuano, 2018-08-14 16:15:16

Linking ManyToOne to itself with a specific filter?

I need to make similar products so that they are available from the type model ($product->getRelated())
Just starting to learn doctrine symfony tell me if something like this is possible

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Vlastovskiy, 2018-08-14
@VlastV

Not possible with a filter, but Many-To-Many, Self-relation will do

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question