mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1794 - Extend EQL to support inOrEmpty, eqOrNull, gtOrNull, ltOrNull
This commit is contained in:
@@ -5,9 +5,9 @@ import java.util.Map;
|
||||
|
||||
class OperatorMapping {
|
||||
|
||||
final Map<String, EqlOperator> map = new HashMap<>();
|
||||
private final Map<String, EqlOperator> map = new HashMap<>();
|
||||
|
||||
public OperatorMapping() {
|
||||
OperatorMapping() {
|
||||
map.put("eq", EqlOperator.EQ);
|
||||
map.put("=", EqlOperator.EQ);
|
||||
map.put("ieq", EqlOperator.IEQ);
|
||||
@@ -43,6 +43,9 @@ class OperatorMapping {
|
||||
|
||||
map.put("inrange", EqlOperator.INRANGE);
|
||||
map.put("between", EqlOperator.BETWEEN);
|
||||
map.put("eqOrNull", EqlOperator.EQORNULL);
|
||||
map.put("gtOrNull", EqlOperator.GTORNULL);
|
||||
map.put("ltOrNull", EqlOperator.LTORNULL);
|
||||
}
|
||||
|
||||
public EqlOperator get(String key) {
|
||||
|
||||
Reference in New Issue
Block a user