mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1793 - ENH: Add filterMany() that takes expressions ... as a simpler option
This commit is contained in:
@@ -16,6 +16,7 @@ import io.ebean.search.TextQueryString;
|
||||
import io.ebean.search.TextSimple;
|
||||
import io.ebeaninternal.api.SpiExpressionFactory;
|
||||
import io.ebeaninternal.api.SpiQuery;
|
||||
import io.ebeaninternal.server.grammer.EqlParser;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
@@ -151,6 +152,11 @@ public class DefaultExpressionFactory implements SpiExpressionFactory {
|
||||
return new BitwiseExpression(propertyName, BitwiseOp.AND, flags, "=", match);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> void where(ExpressionList<T> list, String expressions, Object[] params) {
|
||||
EqlParser.parseWhere(expressions, list, this, params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Equal To - property equal to the given value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user