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

Weird data formatting being returned #20

Open
kwent opened this issue Feb 5, 2018 · 1 comment
Open

Weird data formatting being returned #20

kwent opened this issue Feb 5, 2018 · 1 comment
Labels

Comments

@kwent
Copy link

kwent commented Feb 5, 2018

Hi,

Thanks again for this piece of software.

When executing the following query:

SELECT 1 as foo, 2 as foo

Data returned is:

[
    [ '1\t2' ],
    [ { name: 'foo', type: 'tinyint', comment: '' }, { name: 'foo', type: 'tinyint', comment: '' } ]
]

I'm not sure i quite understand why 1\t2, i was expecting ['1', '2'].

Is this a bug ?

Regards

@ufukomer
Copy link
Owner

ufukomer commented Feb 5, 2018

Probably a bug. Can you fix it? You can easily understand the problem by inserting a console.log here to see what is wrong with the result.

@ufukomer ufukomer added the bug label Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants