separate: true
for many to many associations
#14121
Labels
type: feature
For issues and PRs. For new features. Never breaking changes.
Issue Creation Checklist
Feature Description
Is your feature request related to a problem? Please describe.
when including a one to many association you can pass
separate: true
to do this in a different query, this is great because when we have such relationship when we query serval resources it will be more performant to query their associations separately, active record (the Rails ORM) even do that by default when possible.the problem is for some reason, in Sequelize, this is limited to one to many and excluded from many to many.
Describe the solution you'd like
I would like to add the
separate: true
option for many to many associationsWhy should this be in Sequelize
I think its a core feature in an ORM
Describe alternatives/workarounds you've considered
doing this manually
Feature Request Checklist
Is this feature dialect-specific?
Would you be willing to implement this feature by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: