skip to Main Content

How to query postgres for jsonb field that has a key set to a null value – Postgresql

I have a table in postgres which has rows like the following in a jsonb column called data: { "block": { "data": null, "timestamp": "1680617159" } } {"block": {"hash": "0xf0cab6f80ff8db4233bd721df2d2a7f7b8be82a4a1d1df3fa9bbddfe2b609e28", "size": "0x21b", "miner": "0x0d70592f27ec3d8996b4317150b3ed8c0cd57e38", "nonce": "0x1a8261f25fc22fc3", "number": "0x1847", "uncles": [],…

VIEW QUESTION
Back To Top
Search