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

Add flatKeys option parameter #77

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

mary2501
Copy link

Scenario:
I have a query with this column header "test (one, two, etc.)"
I run the query
SELECT field AS "test (one, two, etc.)" from some_table
I receive a wrong JSON response because the dot inside the column header is interpreted as a nested array.

In this PR, I added a new config parameter "flatKeys" that fix the issue mentioned above. It is set by default to false in order to be retro compatible

@ghdna
Copy link
Owner

ghdna commented Feb 15, 2022

Interesting issue. Thanks for the PR. I'll review it.

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

Successfully merging this pull request may close these issues.

2 participants