Try using Postgres' SIMILAR TO operator which supports alternations. Use this code: SELECT *. FROM table. WHERE lower(value) similar to '%(foo|bar|baz)%'; ...
確定! 回上一頁