Skip to content

Commit

Permalink
Update insert
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Doan committed Oct 2, 2017
1 parent 69e2293 commit 125fb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -15,7 +15,7 @@ function initDatabase(callback) {

function updateRow(db, values) {
// Insert some data.
var statement = db.prepare('INSERT INTO data VALUES(?,?)');
var statement = db.prepare('INSERT INTO data(word,definition) VALUES(?,?)');
statement.run(values);
statement.finalize();
}
Expand Down

0 comments on commit 125fb51

Please sign in to comment.