136
rated 0 times
[
142]
[
6]
/ answers: 1 / hits: 51497
/ 5 Years ago, tue, march 5, 2019, 12:00:00
I'm new on typeorm
, maybe someone can resolve my problem.
I have some query like :
SELECT t1.id,t2.id_2,t3.event,t3.column1,t4.column1 FROM table1 t1
INNER JOIN table2 t2 ON t1.id = t2.id
INNER JOIN table3 t3 ON t2.event = t3.event
INNER JOIN table4 t4 ON t4.id = t2.id_2 WHERE t3.event = 2019
How to convert this query to typeorm
?
More From » sql