Toggle method for belongsToMany relationship #14503
Unanswered
Joandres-Lara
asked this question in
Help & Questions
Replies: 1 comment 2 replies
-
I'm ok with this feature being added, but I think we will wait until #14302 is implemented first, to avoid further increasing the typescript boilerplate. Feel free to open a feature request for it :) https://github.com/sequelize/sequelize/issues/new?assignees=&labels=&template=feature_request.md&title= (and/or opening a PR that implements it, but that would have to be after #14302) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there, do you think a
toggle
method is necessary to insert or remove identifiers from many-to-many relationships? I use the Laravel ORM as an example, which contains a helper to make this association.https://laravel.com/docs/9.x/eloquent-relationships#toggling-associations
Thanks very much for feedback.
Beta Was this translation helpful? Give feedback.
All reactions