We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mysql和postgresql悲观锁for update语句的skip locked后缀可以跳过被锁定的行
// c# code
功能增强
任务队列场景,每次取一个任务跳过正在处理的任务
fsql.Select<Task>().Where(xxx).ForUpdate(skipLocked: true).ToOne(); // c# code
The text was updated successfully, but these errors were encountered:
- 补充 ForUpdate 增加 SkipLocked 参数;#2017
88b1aa3
v3.5.204-preview20250428 #2017 #1982 #2015 #1952 #1674 #1520
9bd3999
No branches or pull requests
Feature 特性
mysql和postgresql悲观锁for update语句的skip locked后缀可以跳过被锁定的行
// c# code
简要描述原因
功能增强
// c# code
使用场景
任务队列场景,每次取一个任务跳过正在处理的任务
The text was updated successfully, but these errors were encountered: