checking if value in column (defined as array) contains given substring
i have users table with column id, name, skills (defined as array).
for example
but when i type "Java" it only returns row with id = 1, i want it also to return the second row, because the word "JavaScript" also contains "java". Here's the model i made.
if it was just a text i usually use
for example
but when i type "Java" it only returns row with id = 1, i want it also to return the second row, because the word "JavaScript" also contains "java". Here's the model i made.
objParams is an object contains some values for filtering: page, limit, search for keyword to search, order type (asc or desc). if it was just a text i usually use
ilike for that. for an array is there any possible ways to achieve that using .contains() ?