diff --git a/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqQuery.java b/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqQuery.java index 7a9d49a..2c34081 100644 --- a/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqQuery.java +++ b/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqQuery.java @@ -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 query = field(field);