Re: @ operator

Поиск
Список
Период
Сортировка
От Bushmelev Anton
Тема Re: @ operator
Дата
Msg-id 55FB00C8.4000208@gmail.com
обсуждение исходный текст
Ответ на Re: @ operator  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Thanks for reply, it is clear now =)

On 09/17/2015 08:34 PM, David G. Johnston wrote:
On Thursday, September 17, 2015, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Thursday, September 17, 2015, Антон Бушмелев <bushmelev.aa@gmail.com> wrote:
Hello, google nothing  for @ operator =(,  what does this mean  field1 <@ ( subquery ) ?


It would depend on what field1 is.

Typically <@ is a contains/contained-by operator.  Is this context the subquery is checked to see if it contains the value of field1.

David J. 

To clarify I think that it means that for each row returned by the subquery, the value of filed1 is checked to see if the field in the subquery contains the given value.  Use use ANY/ALL to indicate whether to care if on,y so,e rows or all rows need match in order for the entire expression to pass.

David J.

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

Предыдущее
От: Igor Neyman
Дата:
Сообщение: Re: @ operator
Следующее
От: Ramesh T
Дата:
Сообщение: postgres 9.3