You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case where I need to run specific SQLite syntax not available in WebSQL, as well as run it inside a browser. Was thinking if it's possible to run node-websql with sql.js out of the box, instead of using the node-dependent sqlite3 module.
Imagined this would work by just replacing sqlite3 with sql.js.. tried it out but didn't seem to work. No errors thrown and no luck in debugging either; 0cd0b89.
Any ideas on what could be wrong here? Guessing this could be a neat feature to include in main repo as well if it works good. Thanks.
The text was updated successfully, but these errors were encountered:
node-websql as written is pretty heavily reliant on the API exposed by the node-sqlite3 module (details here).
Luckily there is a custom API that can be used to delegate to your SQLite implementation of choice, which is undoubtedly what you would need to do in order to hook node-websql to sql.js. Hope that helps!
I have a case where I need to run specific SQLite syntax not available in WebSQL, as well as run it inside a browser. Was thinking if it's possible to run node-websql with sql.js out of the box, instead of using the node-dependent sqlite3 module.
Imagined this would work by just replacing sqlite3 with sql.js.. tried it out but didn't seem to work. No errors thrown and no luck in debugging either; 0cd0b89.
Any ideas on what could be wrong here? Guessing this could be a neat feature to include in main repo as well if it works good. Thanks.
The text was updated successfully, but these errors were encountered: