No, the where condition in Sequelize applies after joining tables. The tables must be joined first before filtering the data using a where condition.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-07-04 11:00:00 +0000
Seen: 9 times
Last updated: Jan 15 '22
Question: Having issues correctly joining a table to itself in Sequelize.
What is the procedure for using Sequelize's bulkCreate functionality?
How can unstaged work be resolved in two working directories using Git?
Can IntelliSense and suggestions be incorporated into Laravel's artisan Tinker during session work?
How does connect by level work when dealing with two different lengths?