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

Using json_agg to improve the return of json #157

Closed
crgimenes opened this issue Jun 1, 2017 · 0 comments
Closed

Using json_agg to improve the return of json #157

crgimenes opened this issue Jun 1, 2017 · 0 comments
Assignees
Milestone

Comments

@crgimenes
Copy link
Contributor

Postgresql has a formatting function called json_agg that can properly format json for all its data types including array and jsonb.
Today we are using Go to try to parse the return to json but in some cases it is very difficult because it involves extra queries to the metadata tables of the database.

@crgimenes crgimenes self-assigned this Jun 1, 2017
@avelino avelino added this to the 0.1.8 milestone Jun 2, 2017
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

2 participants