-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow $set null (remove association) #774
Conversation
Codecov Report
@@ Coverage Diff @@
## master #774 +/- ##
=======================================
Coverage 95.20% 95.20%
=======================================
Files 117 117
Lines 1126 1126
Branches 129 129
=======================================
Hits 1072 1072
Misses 22 22
Partials 32 32
Continue to review full report at Codecov.
|
I'm not getting a way to remove an association between these two models below:
To associate a Queue to a Ticket I do the following:
Any ideas on how to remove this association? |
Referring to the documentation, use of
null
for relation$set()
should be allowed.https://sequelize.org/v5/manual/associations.html#associating-objects