Re: In need of some JSONB examples ?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: In need of some JSONB examples ?
Дата
Msg-id 54C26DE3.1030108@aklaver.com
обсуждение исходный текст
Ответ на Re: In need of some JSONB examples ?  (Tim Smith <randomdev4+postgres@gmail.com>)
Ответы Re: In need of some JSONB examples ?  (Tim Smith <randomdev4+postgres@gmail.com>)
Список pgsql-general
On 01/23/2015 07:40 AM, Tim Smith wrote:
> re: (a)
>
>> see the documentation pertaining to 'jsonb indexing', to wit:
>>
>> -- Find documents in which the key "company" has value "Magnafone"
>> SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @> '{"company":
>> "Magnafone"}';
>
> Nope, sorry, tried that.  Doesn't work for me. Hence the question.  ;-)

How does it not work?
In other words what was the query you tried and what was the output?




--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Tim Smith
Дата:
Сообщение: Re: In need of some JSONB examples ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: CLOG read problem after pg_basebackup