Skip to content
New issue

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

add more jsonb functions #2701

Merged
merged 4 commits into from
Oct 21, 2024
Merged

add more jsonb functions #2701

merged 4 commits into from
Oct 21, 2024

Conversation

hengm3467
Copy link
Collaborator

added documentation for jsonb_exists, jsonb_exists_all, jsonb_contains, jsonb_contained.

Description

Related code PR

Related doc issue

Resolve

Rendered preview

Checklist

  • I have checked the doc site preview, and the updated parts look good.
  • I have acquired the approval from the owner (and optionally the reviewers) of the code PR and at least one tech writer (emile-00, hengm3467, & WanYixian).

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2701.d2fbku9n2b6wde.amplifyapp.com

@@ -631,7 +751,6 @@ This operator checks if the left `jsonb` value contains the right `jsonb` value.
'{"foo": {"bar": "baz"}}'::jsonb @> '{"bar": "baz"}'::jsonb → f

'{"foo": {"bar": "baz"}}'::jsonb @> '{"foo": {}}'::jsonb → t
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ``` is still needed, otherwise the code snippet is not wrapped correctly. 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I duplicated the exists_any function

@hengm3467 hengm3467 merged commit 73ef231 into main Oct 21, 2024
3 checks passed
@hengm3467 hengm3467 deleted the bug-fixes-20241016 branch October 21, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants