Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExport - rawDump() is not working properly #194
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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