-
Notifications
You must be signed in to change notification settings - Fork 9
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
FEATURE: Support SQL Server (and more?) #30
FEATURE: Support SQL Server (and more?) #30
Conversation
3117432
to
1a8faab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally against MariaDB 10.5, SQLite and SQL Server 2022.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one, great addition!
No time to test atm, but I left some (partly rather unqualified) comments already
BTW, this is (slightly) related, it adds a test that invokes a formerly untested code path: Flowpack/jobqueue-common#62 |
- add return types - add types to method arguments - drop unneeded doc comments
This switches the hard-coded SQL against Doctrine DBAL query builder use. This makes the queue work on SQL Server and potentially more databases supported by Doctrine DBAL.
- simplify query builder use - add some sprintf - rename some variables - amend docblocks
1a8faab
to
ba14187
Compare
Thanks @bwaidelich – I improved the code! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, +1 by reading!
Have been testing this the last two days, LGTM. |
This switches the hard-coded SQL against Doctrine DBAL query builder use.
This makes the queue work on SQL Server and potentially more databases supported by Doctrine DBAL.