pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: pgsql-general@lists.postgresql.org
Subject: JSON query
Date: Mon, 18 Oct 2021 21:45:39 -0600
Message-ID: <92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com> (raw)

What's a good way to query jsonb column for

"no keys other than those in this list of keys"

in other words

"containing only keys from this list of keys"

--
Scott Ribe
scott_ribe@elevated-dev.com
https://www.linkedin.com/in/scottribe/








view thread (3+ messages)  latest in thread

Message-ID: <92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com>
Permalink:  ../92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com/
Also on:    postgresql.org/message-id/92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com

 · 

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: scott_ribe@elevated-dev.com
  Subject: Re: JSON query
  In-Reply-To: <92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com>
  References: <92C951E2-753C-4B5C-A25B-FDBD9F72AF54@elevated-dev.com>

* 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