-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 locking methods to the query builder #6105
Closed
Closed
Commits on Sep 28, 2023
-
Add lockForUpdate() to the query builder
This will allow us to create a query that will lock the rows returned until the end of the transaction. This mens we can update these rows with the guarantee that they have not been changed in the meantime by a competing process.
Configuration menu - View commit details
-
Copy full SHA for 6677a94 - Browse repository at this point
Copy the full SHA 6677a94View commit details -
Fix SQLServer getForUpdateSQL()
It is currently returning an empty string, but it can be implemented with 'WITH (UPDLOCK, ROWLOCK)'.
Configuration menu - View commit details
-
Copy full SHA for 53984b0 - Browse repository at this point
Copy the full SHA 53984b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991876d - Browse repository at this point
Copy the full SHA 991876dView commit details -
Add skipLocked() to the query builder
This will allow us to create a query that will not wait for a lock to be released on rows, and instead return a row set excluding the rows locked by another transaction.
Configuration menu - View commit details
-
Copy full SHA for e77576f - Browse repository at this point
Copy the full SHA e77576fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d278c6b - Browse repository at this point
Copy the full SHA d278c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02edccb - Browse repository at this point
Copy the full SHA 02edccbView commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for acedc4d - Browse repository at this point
Copy the full SHA acedc4dView commit details
Commits on Oct 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f04a41 - Browse repository at this point
Copy the full SHA 3f04a41View commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ef72694 - Browse repository at this point
Copy the full SHA ef72694View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.