Re: [SQL] death of array?
От | Rob Sargent |
---|---|
Тема | Re: [SQL] death of array? |
Дата | |
Msg-id | d1ce18b8-c5cb-9547-c0b3-8a4910f96483@gmail.com обсуждение исходный текст |
Ответ на | Re: [SQL] death of array? ("David G. Johnston" <david.g.johnston@gmail.com>) |
Ответы |
Re: [SQL] death of array?
|
Список | pgsql-sql |
On 04/07/2017 09:26 AM, David G. Johnston wrote:
But my understanding of the documentation of ALL is debatable. What does "the left-hand expression is evaluated" yield for people_member.person_id? The where clause would restrict it to one people_id but thats still more that what's in probandset.probands.
Understood but true if any match is found, I need every array member to match as I want them all to be of a specific people as input into the query (so field = all(array_col)) and "field" here would be people_member.person_id and using that yields zero results in full query (very quickly though).Thank you both for your suggestions, but does either apply to joining through the array in a flow of join operations? Or must I do the work on the array in the where clause?field = any(array_col) works anywhere ...David J.
But my understanding of the documentation of ALL is debatable. What does "the left-hand expression is evaluated" yield for people_member.person_id? The where clause would restrict it to one people_id but thats still more that what's in probandset.probands.
В списке pgsql-sql по дате отправления: