Commit 569ffde4 by Orlando Vazquez

Show good practice of cleaning up after statements in README

parent 729b4af1
...@@ -41,6 +41,9 @@ currently made. ...@@ -41,6 +41,9 @@ currently made.
statement.fetchAll(function (error, rows) { statement.fetchAll(function (error, rows) {
// ... // ...
statement.finalize(function (error) {
console.log("All done!");
});
}); });
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment