Skip to content

Return multi-row result as JSON array #3

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

Open
dm8tbr opened this issue Jun 10, 2013 · 1 comment
Open

Return multi-row result as JSON array #3

dm8tbr opened this issue Jun 10, 2013 · 1 comment

Comments

@dm8tbr
Copy link

dm8tbr commented Jun 10, 2013

This could be useful.
For now I've devised a work around. I print '[' and ']' around the output and the query looks like this:

  SELECT CONCAT(json_object(foo, bar, baz), ',') AS '' FROM quux;
@ziadloo
Copy link

ziadloo commented Jul 26, 2015

Just a thought, you can use the current version of non-aggregate JSON UDFs combined with recursive stored procedures to achieve what you want.

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

No branches or pull requests

2 participants