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

[MySQL] json_value() function does not exist in PG/YB #834

Open
shubham-yb opened this issue May 8, 2023 · 0 comments
Open

[MySQL] json_value() function does not exist in PG/YB #834

shubham-yb opened this issue May 8, 2023 · 0 comments
Labels
dep-issue Issues with dependencies documentation Improvements or additions to documentation

Comments

@shubham-yb
Copy link
Contributor

shubham-yb commented May 8, 2023

MySQL has the function json_value() which extracts scalar value at the specified path from the given JSON document and returns it as the specified type.
This function does not exist in PG/YB.

Workaround:

We can use the alternative function json_extract_path_text()

@shubham-yb shubham-yb added documentation Improvements or additions to documentation dep-issue Issues with dependencies labels May 8, 2023
@github-actions github-actions bot added triage Needs to be triaged and removed documentation Improvements or additions to documentation dep-issue Issues with dependencies labels May 8, 2023
@shubham-yb shubham-yb added documentation Improvements or additions to documentation dep-issue Issues with dependencies and removed triage Needs to be triaged labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dep-issue Issues with dependencies documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant