Answer the question
In order to leave comments, you need to log in
What is the correct way to write a query in sequelize 6?
Help form the correct request through sequelize 6 exec itself looks like this:
SELECT c.name FROM Categories c LEFT JOIN PostData pd ON c.id = pd.categoryId LEFT JOIN Posts p2 ON pd.postId = p2.id WHERE p2.id = 1;
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