L
L
Latunov2017-02-13 18:25:10
symfony
Latunov, 2017-02-13 18:25:10

Creating a query against multiple tables in doctrine?

How to query multiple tables in doctrine like
SELECT t2.* FROM `table1` AS t1, `table2` AS t2, `table_links` AS t3 WHERE t1.id='".$id."' AND t1.id=t3 .link1 AND t2.id=t3.link2
?
Everywhere only examples with JOIN but here it does not fit.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shagguboy, 2017-02-14
@shagguboy

but it doesn't fit here.

why?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question