We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
20:44 lee=# select jsonb_set('{"foo":"aaaaaa","bar":[444, 555, {"test": false, "failed": 1}]}'::jsonb, '{foo}', NULL); 20:44 jsonb_set 20:44 -----------
The usage of NULL rather than 'null'::jsonb clears out the JSON values.
NULL
'null'::jsonb
The text was updated successfully, but these errors were encountered:
This would have to be not a literal NULL check but instead ensure either a literal value or a coalesce(<input here>, 'null'::jsonb)
coalesce(<input here>, 'null'::jsonb)
Sorry, something went wrong.
No branches or pull requests
The usage of
NULL
rather than'null'::jsonb
clears out the JSON values.The text was updated successfully, but these errors were encountered: