mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1579 - ENH: for UpdateQuery add setLabel() and update() as top level methods
This commit is contained in:
1 parent
51f79e769c
commit
ebdc28e1cd
3 files changed
+53
No files matched your search
@@ -48,8 +48,19 @@ public class DefaultUpdateQuery<T> implements UpdateQuery<T> {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateQuery<T> setLabel(String label) {
|
||||
query.setLabel(label);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ExpressionList<T> where() {
|
||||
return query.where();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int update() {
|
||||
return query.update();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user