-
-
Notifications
You must be signed in to change notification settings - Fork 40
Add FOR
clause for query
#967
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #967 +/- ##
=========================================
Coverage 99.19% 99.19%
- Complexity 1600 1611 +11
=========================================
Files 98 98
Lines 3953 3980 +27
=========================================
+ Hits 3921 3948 +27
Misses 32 32 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
In MSSQL it is deprecated
https://learn.microsoft.com/en-us/sql/odbc/reference/appendixes/processing-select-for-update-statements?view=sql-server-ver16
MSSQL has different lock mechanism
SELECT * FROM table_name WITH (UPDLOCK) WHERE ...
https://learn.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table?view=sql-server-ver16
We can still try SELECT FOR UPDATE
while it works
Seems, this is about ODBC Cursor Library only: https://learn.microsoft.com/en-us/sql/odbc/reference/appendixes/appendix-f-odbc-cursor-library?view=sql-server-ver16 MSSQL supports |
There are only
But no |
You're right. Currently May be add "not supported" exception in |
Yes, for now can be marked as "not supported". |
|
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
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.
👍
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Related PRs:
FOR
clause for query db-sqlite#354