Hello together,

is there a way to create "like" filters, based on CompanyRecord like the 
example below? My issue with it is, it uses only equal (=) commands and not 
"like". I'm also looking for a solution with greater (>), greater equal 
(>=), smaller (<) and smaller equal (<=) for different types. Is there may 
be a way to create a user defined "condition" function, that is capable to 
access the entities dynamically. To hardcode the "like" conditions, like 
shown in the documentation, doesn't helps.

Company filter = gson.fromJson(filterAsJSON, Company.class);
CompanyRecord filterRecord = tx.newRecord(COMPANY, filter);

companys = tx.selectFrom(COMPANY)
.where(condition(filterRecord)) 
.fetch();

Best regards
Maverick Skywalker

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/9d4a1960-6813-4f61-9eac-28620b70955e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to