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
Is your feature request related to a problem? Please describe.
The deferred query usage in the associated query cannot customize the function name. The framework converts the data table name to plural by default (e.g. business - > getbusinesses), which cause that when i want to use delay-load in association query, the function name will be ugly and complex.
Describe the solution you'd like
The frame may privode a custom parameter to control this feature that converts the DB name to plural. As a result, the developer can use a nice function name to support the deferred query usage
// If applicable, add a code snippet showing how your feature would be used in a real use-case
Why should this be in Sequelize
Short explanation why this should be part of Sequelize rather than a separate package.
Describe alternatives/workarounds you've considered
The frame may privode a custom parameter to control this feature that converts the DB name to plural. As a result, the developer can use a nice function name to support the deferred query usage
Additional context
Add any other context or screenshots about the feature request here.
Path:
sequelize/lib/associations
Feature Request Checklist
Is this feature dialect-specific?
No. This feature is relevant to Sequelize as a whole.
Yes. This feature only applies to the following dialect(s): XXX, YYY, ZZZ
Would you be willing to implement this feature by submitting a Pull Request?
Yes, I have the time and I know how to start.
Yes, I have the time but I don't know how to start, I would need guidance.
[ v ] No, I don't have the time, although I believe I could do it if I had the time...
No, I don't have the time and I wouldn't even know how to start.
The text was updated successfully, but these errors were encountered:
Issue Creation Checklist
[ ] I have read the contribution guidelines
Feature Description
Is your feature request related to a problem? Please describe.
The deferred query usage in the associated query cannot customize the function name. The framework converts the data table name to plural by default (e.g. business - > getbusinesses), which cause that when i want to use delay-load in association query, the function name will be ugly and complex.
Describe the solution you'd like
The frame may privode a custom parameter to control this feature that converts the DB name to plural. As a result, the developer can use a nice function name to support the deferred query usage
// If applicable, add a code snippet showing how your feature would be used in a real use-case
Why should this be in Sequelize
Short explanation why this should be part of Sequelize rather than a separate package.
Describe alternatives/workarounds you've considered
The frame may privode a custom parameter to control this feature that converts the DB name to plural. As a result, the developer can use a nice function name to support the deferred query usage
Additional context
Add any other context or screenshots about the feature request here.
Path:
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: