Добавил два новых метода likeIgnoreCase и просто like

This commit is contained in:
Struchkov Mark 2022-02-17 19:30:25 +03:00
parent 9c360c2900
commit 6145286497

View File

@ -58,6 +58,16 @@ public class CriteriaJooqQuery {
return this;
}
public CriteriaJooqQuery like(String field, String value) {
like(field, value, false);
return this;
}
public CriteriaJooqQuery likeIgnoreCase(String field, String value) {
like(field, value, true);
return this;
}
public CriteriaJooqQuery like(String field, String value, boolean ignoreCase) {
Assert.isNotNull(field);
final Field<Object> query = field(field);