I tried to build the following sql statement through jpa CriteriaBuilder, but didn't find the right way to use it for me。
SELECT * from table WHERE string_to_array(column, ',') @> array['array_item']
I tried to build the following sql statement through jpa CriteriaBuilder, but didn't find the right way to use it for me。
SELECT * from table WHERE string_to_array(column, ',') @> array['array_item']