mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
feat: add QueryWrapper.forUpdateNoWait
This commit is contained in:
parent
98975d2507
commit
368def9e4d
@ -285,6 +285,17 @@ public class QueryWrapper extends BaseQueryWrapper<QueryWrapper> {
|
||||
return this;
|
||||
}
|
||||
|
||||
public QueryWrapper forUpdateNoWait(){
|
||||
addEndFragment("FOR UPDATE NOWAIT");
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
// public QueryWrapper end(String sqlPart){
|
||||
// addEndFragment(sqlPart);
|
||||
// return this;
|
||||
// }
|
||||
|
||||
|
||||
protected Joiner<QueryWrapper> joining(String type, String table, boolean condition) {
|
||||
Join join = new Join(type, table, condition);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user