mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
EQL Named parameter support for Like and ieq
This commit is contained in:
1 parent
1a1c432c2a
commit
84b37fb014
10 files changed
+123
-88
No files matched your search
@@ -202,7 +202,11 @@ class EqlAdapter<T> extends EQLBaseListener {
|
||||
return query.createNamedParameter(parameterName);
|
||||
}
|
||||
|
||||
public Expression like(LikeType likeType, String property, Object bindValue) {
|
||||
return query.getExpressionFactory().like(likeType, property, bindValue);
|
||||
public Expression like(boolean caseInsensitive, LikeType likeType, String property, Object bindValue) {
|
||||
return query.getExpressionFactory().like(property, bindValue, caseInsensitive, likeType);
|
||||
}
|
||||
|
||||
public Expression ieq(String property, Object bindValue) {
|
||||
return query.getExpressionFactory().ieqObject(property, bindValue);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user