Answer the question
In order to leave comments, you need to log in
How to pull out all dependent tables at once in the doctrine?
Hello everyone
Task: I pull the article object from the knowledge base, through twig I get all the dependent data (comments, ratings, ratings - everything from each separate table).
For example, in Django ORM, if I do this, then for each request to another table there is a separate subquery, which greatly slows down the work. For such purposes, you can make a complex request there, which will immediately pull out all the dependencies. Is there an analog for this in Doctrine?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question