Commit 3e1be5cb by Konstantin Käfer

added call to .finalize() to readme

parent 6dec9695
......@@ -18,6 +18,7 @@ Install with `npm install sqlite3`.
for (var i = 0; i < 10; i++) {
stmt.run("Ipsum " + i);
}
stmt.finalize();
db.each("SELECT rowid AS id, info FROM lorem", function(err, row) {
console.log(row.id + ": " + row.info);
......
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