Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account - Mailing list pgsql-general

From Erik Wienhold
Subject Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
Date
Msg-id 550248534.555107.1680534677029@office.mailbox.org
Whole thread Raw
In response to Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
List 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 by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: DEFINER / INVOKER conundrum
Next
From: Tom Lane
Date:
Subject: Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account