Re: searching array

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: searching array
Дата
Msg-id 10841.1129575745@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: searching array  (Matthew Peter <survivedsushi@yahoo.com>)
Список pgsql-general
Matthew Peter <survivedsushi@yahoo.com> writes:
> Yes. I did read it wrong. I wanted to find all records
> that contained x where x >= 10000

Then flip it around:

    contain x where 10000 <= x

    10000 <= ANY (array)

For syntactic reasons, there's no "ANY(array) >= x" construct,
so you have to write it this way.

            regards, tom lane

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

Предыдущее
От: Matthew Peter
Дата:
Сообщение: Re: searching array
Следующее
От: Matthew Peter
Дата:
Сообщение: Re: searching array