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

support get_json_array #52616

Open
INNOCENT-BOY opened this issue Nov 5, 2024 · 1 comment
Open

support get_json_array #52616

INNOCENT-BOY opened this issue Nov 5, 2024 · 1 comment

Comments

@INNOCENT-BOY
Copy link

INNOCENT-BOY commented Nov 5, 2024

{
"people": [{
"name": "Daniel",
"surname": "Smith"
}, {
"name": "Lily",
"surname": "Smith",
"active": true
}]
}
For example, I have a JSON field in this format, and I want to query for rows where the user's name is "jack." However, there is no function like get_json_array available. Although I can extract the result using $[*].name, there's currently no way to convert this result into an array.
If the community finds this reasonable, I might try implementing this method, get_json_array. @wangsimo0

@INNOCENT-BOY
Copy link
Author

Note: This issue is related to #52585.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant