否定 ?& JSON 运算符

Negating the ?& JSON operator

有没有办法在 Postgres 中否定 ?& 运算符? postgres 文档中的 operators table 表示 ?& 等同于 "Do all of these key/element string exist?"

我想做的是 return 行,根据数组中的所有键是否不存在。所以像

SELECT * FROM mytable WHERE NEGATE_THIS(jsoncolumn ?& ['v1', 'v2'])

我在文档中看不到特定的运算符,有办法做到这一点吗?

怎么样(假设您想要所有存在 none 个键的行)

WHERE NOT (jsoncolumn ?| ['v1', 'v2'])

?| 是 "Do any of these key/element strings exist?"