|
|
|
|
|
by myoon
3936 days ago
|
|
Unfortunately, there are a few major downsides to sql.js: 1. Not API compatible with node-sqlite3, so you can't just drop it in and use it with knex or other wrappers. 2. Doesn't support in-place editing of a db. You have to load the entire DB into memory, modify it, and then save it back, making it unsuitable for any concurrent application. I love the idea of the project though, and it would be awesome not to have to deal with compiling sqlite or using node-pregyp to build embedded chromium apps. |
|