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

Export - rawDump() is not working properly #194

Open
Suresh918 opened this issue Jan 30, 2020 · 0 comments
Open

Export - rawDump() is not working properly #194

Suresh918 opened this issue Jan 30, 2020 · 0 comments

Comments

@Suresh918
Copy link

Which version are you using?
2.3.7

Describe the bug
rawDump method is returning zero array (["0","0","0","0"]) instead of actual data

Expected behavior
It should return complete database tables data

Code used
nSQL().rawDump([], false, (table, row) => {
console.log(table);
console.log(row);
}).then((data) => {
console.log(data);
console.log(JSON.stringify(data));
});

Here console.log(table), console.log(row) working as expected with actual data. But console.log(data); or console.log(JSON.stringify(data)); are returning zero array

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

1 participant