-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Is your feature request related to a problem? Please describe.
This is a duplicate of this issue that was closed 10 months ago. I think now is a good time to think about it again after there were several changes in how the data layer is added to the project.
Pull request #836 was very nice to support sqlalchemy based data persistence.
However, the sqlalchemy data layer only works with postgres db. Whenever a change is made in the data layer, one must change the respective self written file for mssql, mysql, ...
Describe the solution you'd like
If you would change the implementation of the functions from query-strings to an more generic ORM-based approch (see SQL alchemy ORM, the sqlalchemy data layer would support any database supported by sqlalchemy with only the need to pass a connection string or engine object.
Describe alternatives you've considered
Alternatives would be to rename the sqlalchemy data layer to postgres data layer and add files for other databases, e.g. mssql and mysql. This would however require even more work to do when changing something at the data layer.
Additional context
I am willing to contribute to a feature request with maybe some help needed