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
Describe the feature you'd like to see implemented
We use databaseVersion internally to adapt our queries based on the feature set of the targeted version.
The problem is that this version is only fetched during the first connection to the database (or set manually through the Sequelize constructor option bag)
Right now, if it's not set, we default to our minimum supported version for that database. Instead, we should throw an error explaining to the user that the database version is unknown and that they should call sequelize.authenticate() first to fetch it, or configure it through sequelize's options
Describe why you would like this feature to be added to Sequelize
It would prevent subtle bugs
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):
Would you be willing to resolve this issue by submitting a Pull Request?
No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in implementing my feature.
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered:
Issue Creation Checklist
Feature Description
Describe the feature you'd like to see implemented
We use
databaseVersion
internally to adapt our queries based on the feature set of the targeted version.The problem is that this version is only fetched during the first connection to the database (or set manually through the Sequelize constructor option bag)
Right now, if it's not set, we default to our minimum supported version for that database. Instead, we should throw an error explaining to the user that the database version is unknown and that they should call
sequelize.authenticate()
first to fetch it, or configure it through sequelize's optionsDescribe why you would like this feature to be added to Sequelize
It would prevent subtle bugs
Is this feature dialect-specific?
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: