Commit 68d93a53 by Konstantin Käfer

Merge branch 'master' of github.com:developmentseed/node-sqlite3

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