Question: When defining associations, how does Sequelize consider options? #14605
Unanswered
ThirteenTempest
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As noted in the documentation, the following syntax is all valid:
This implies that you can create associations with options in both the
has
and thebelongs
calls, which subsequently implies that it is possible to call these associations with conflicting information, such as:What exactly happens in this scenario, and more generally, how does the option consideration actually occur?
Beta Was this translation helpful? Give feedback.
All reactions