How to add support for a new database dialect? #16939
-
I would like to contribute to Sequelize by adding support for a new database. I notice that there are issues like #5984 and #13291 asking for support for HANA. Currently HANA is not in the available database list. It would be great if Sequelize can support HANA. I have read the CONTRIBUTING.md but I didn't find how to add an new database. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We don't have good documentation on how to add a new dialect since it does not happen that often. In the last two years we've added support for snowflake and ibmi but we have added a warning for those because we cannot run integration tests. One open PR for a new dialect where we can run the integration tests is #15569 but I think we would recommend making a fork and adding support for a new dialect in there and wait for sequelize v8 in which we'll add a plugin system for supporting dialects and you can easily make a community plugin that adds support for HANA. |
Beta Was this translation helpful? Give feedback.
We don't have good documentation on how to add a new dialect since it does not happen that often. In the last two years we've added support for snowflake and ibmi but we have added a warning for those because we cannot run integration tests.
One open PR for a new dialect where we can run the integration tests is #15569 but I think we would recommend making a fork and adding support for a new dialect in there and wait for sequelize v8 in which we'll add a plugin system for supporting dialects and you can easily make a community plugin that adds support for HANA.