pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject:  Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
Date: Mon, 3 Apr 2023 17:11:17 +0200 (CEST)
Message-ID: <550248534.555107.1680534677029@office.mailbox.org> (raw)
In-Reply-To: <48ed779b-c405-ca4f-c2d1-5ecc0312d9a3@aklaver.com>
References: <CACJufxE01sxgvtG4QEvRZPzs_roggsZeVvBSGpjM5tzE5hMCLA@mail.gmail.com>
	<202761461.525027.1680441711777@office.mailbox.org>
	<48ed779b-c405-ca4f-c2d1-5ecc0312d9a3@aklaver.com>

> 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





view thread (14+ messages)  latest in thread

Message-ID: <550248534.555107.1680534677029@office.mailbox.org>
Permalink:  ../550248534.555107.1680534677029@office.mailbox.org/
Also on:    postgresql.org/message-id/550248534.555107.1680534677029@office.mailbox.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ewie@ewie.name, adrian.klaver@aklaver.com
  Subject: Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
  In-Reply-To: <550248534.555107.1680534677029@office.mailbox.org>
  References: <CACJufxE01sxgvtG4QEvRZPzs_roggsZeVvBSGpjM5tzE5hMCLA@mail.gmail.com> <202761461.525027.1680441711777@office.mailbox.org> <48ed779b-c405-ca4f-c2d1-5ecc0312d9a3@aklaver.com> <550248534.555107.1680534677029@office.mailbox.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox