I am trying to select records in a postgresql db where username is not like a list of strings.
SELECT * FROM rails_db WHERE username NOT LIKE 'j%' AND username NOT LIKE '%eepy%';
The issue is there are a lot of these values. Is there a way to create an array of those and say something like:
SELECT * FROM rails_db WHERE username NOT LIKE ARRAY[my values];