Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
Дата
Msg-id 550248534.555107.1680534677029@office.mailbox.org
обсуждение исходный текст
Ответ на Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
> On 02/04/2023 17:40 CEST Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> That is a long way from:
>
> jsonb @@ jsonpath → boolean
>
> Returns the result of a JSON path predicate check for the specified JSON
> value. Only the first item of the result is taken into account. If the
> result is not Boolean, then NULL is returned.

What do you mean?  I responded to the OP's question.  It's not a suggestion
to update the docs.  Obviously it's quite a mouthful and needs to be boiled
down for the docs.  Any suggestions?

--
Erik



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

Предыдущее
От: Erik Wienhold
Дата:
Сообщение: Re: DEFINER / INVOKER conundrum
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account