We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Probably we can do something like this:
https://www.freecodecamp.org/news/stop-calling-postgrest-magic-8f3e1d5e5dd1/amp/
The text was updated successfully, but these errors were encountered:
Here is a more complicated example of json query + nesting in postgres: https://twitter.com/dosco/status/1250886122974130182?s=20
Also here is my attempt at multiple unrelated subqueries with one json query:
https://sqlime.org/#deta:y08kvtwlu1h2
select json_object( 'expenses', ( select json_group_array(json_object('year', year, 'month', month, 'income', income)) from ( select * from expenses limit 3 ) ), 'employees', ( select json_group_array(json_object('name', name, 'city', city)) from ( select * from employees limit 2 ) ) ) as json_result
Sorry, something went wrong.
I created a mini online tool to help generate/experiment with these kinds of queries:
https://github.com/patdx/sqlite-query-tool https://sqlite-query-tool.pages.dev/
No branches or pull requests
Probably we can do something like this:
https://www.freecodecamp.org/news/stop-calling-postgrest-magic-8f3e1d5e5dd1/amp/
The text was updated successfully, but these errors were encountered: