I have query like:
SELECT *
FROM uni_customer
WHERE mobile REGEXP '^(1[3,4,5,8]){1}\\d{9}$'
But there is no such function like REGEXP(String) in field,
and mysql don’t support syntax like:
SELECT *
FROM uni_customer
WHERE regexp(mobile,'^(1[3,4,5,8]){1}\\d{9}$')
Official support for the
REGEXPoperator will be available soon in the upcoming jOOQ 2.5.0. In the mean time, you can extend jOOQ yourself, as such:Or in a query: