[GENERAL] filter records by substring match of an postgresql array column

Поиск
Список
Период
Сортировка
От Arup Rakshit
Тема [GENERAL] filter records by substring match of an postgresql array column
Дата
Msg-id EA16EEB1-A784-4BBB-99DE-302C1708633B@outlook.com
обсуждение исходный текст
Ответы Re: [GENERAL] filter records by substring match of an postgresqlarray column  (Jeff Janes <jeff.janes@gmail.com>)
Re: [GENERAL] filter records by substring match of an postgresql array column  (Arup Rakshit <aruprakshit1987@outlook.com>)
Список pgsql-general
Hi,

I do have a videos table, and it has a column called `tags` of type array. I would like to select all videos where any
stringinside tag column matches a given substring. What method should I use? The *Contains `@>` operator* will do full
stringcomparisons as far as I understood. 

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: "Arnaud L."
Дата:
Сообщение: [GENERAL] DROP INDEX hangs
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [GENERAL] filter records by substring match of an postgresqlarray column