You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Docs] Document on the Associations page that you can pass an object to foreignKey #9405
I had to go through and read the source code to find this out, but you can pass an object to foreignKey rather than a string. This is helpful if you want to pass additional options. This should probably be added to the documentation somewhere (perhaps just in one of the examples?)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
Activity
sushantdhiman commentedon May 7, 2018
It is mentioned in http://docs.sequelizejs.com/class/lib/associations/base.js~Association.html but we can certainly add this to https://github.com/sequelize/sequelize/blob/master/docs/associations.md for better exposure
stale commentedon Jul 24, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂