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

pgsql jsonContains cast the target sql to jsonb #14870

Merged

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Apr 26, 2024

Description

For Postgres, when checking if json contains a given value, cast the target SQL to jsonb first.

Related issues

#14860

@i-just i-just requested a review from brandonkelly April 26, 2024 13:46
[ci skip]
@brandonkelly brandonkelly merged commit 8495005 into 5.x Apr 26, 2024
@brandonkelly brandonkelly deleted the bugfix/14860-pgsql-jsonContains-cast-target-to-jsonb branch April 26, 2024 15:36
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