Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic MSSQL support #27

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Conversation

asquirenhs
Copy link
Contributor

@asquirenhs asquirenhs commented Jan 15, 2025

Pull Request Contents

✨ Feature

Description

Adds support for MS SQL Server using the default pymssql driver.

Similar to postgresql a user may define the environment variable DATASOURCE_DB_DRIVERNAME in an unqualified way i.e. mssql or may also define in full mssql+pymssql

Connection arguments have been left as an option to be passed to SyncDBManager

Related Issues or other material

✅ Added/updated tests?

  • This PR contains relevant tests

This PR does not add any additional tests.
The adjusted code has however been tested externally for operation with Azure SQL and Azure Postgresql

  • I've completed all actions and tasks detailed in the PR Template

@AndyRae AndyRae requested review from vpnu and beforan January 20, 2025 20:53
@AndyRae AndyRae merged commit b7234ef into Health-Informatics-UoN:main Jan 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLServer Support
3 participants