mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#605 - Add and() and or() ... as synonyms for conjunction() and disjunction() ... to the "Query Criteria API"
This commit is contained in:
1 parent
5d889790c2
commit
3ddd7099b5
5 files changed
+70
-9
No files matched your search
@@ -320,6 +320,16 @@ abstract class JunctionExpression<T> implements SpiJunction<T>, SpiExpression, E
|
||||
return exprList.betweenProperties(lowProperty, highProperty, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Junction<T> and() {
|
||||
return conjunction();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Junction<T> or() {
|
||||
return disjunction();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Junction<T> conjunction() {
|
||||
return exprList.conjunction();
|
||||
|
||||
Reference in new issue
Block a user