SQLite Forum

Finding database file
Login
> update an SQLITE database using JAVASCRIPT and WebKit.

What API are you using? As far as I can tell, the most popular option is [the `sqlite3` package from NPM][1], but your code doesn't follow that API.

The fact that you say "WebKit" is also strange, given that you're apparently on Windows. Do you mean V8 and Node, or are you doing some sort of other out-of-browser thing?

I also don't see any error checking. 

[1]: https://www.npmjs.com/package/sqlite3