Skip to content

pgsql jsonContains cast the target sql to jsonb#14870

Merged
brandonkelly merged 2 commits into5.xfrom
bugfix/14860-pgsql-jsonContains-cast-target-to-jsonb
Apr 26, 2024
Merged

pgsql jsonContains cast the target sql to jsonb#14870
brandonkelly merged 2 commits into5.xfrom
bugfix/14860-pgsql-jsonContains-cast-target-to-jsonb

Conversation

@i-just
Copy link
Copy Markdown
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