Open
Description
Hi guys,
I used loadExtension for add mod_spatialite exntesion. as you said, I add .dll file to my directory and after that i load this extension.
but sometimes it can not find this module and some other says it is 32bit file and can not load in 64bit.
actually I checked it with sqlite3.exe and mod_spatialite.dll in cmd and it works.
this is my code and './spatialite/mod_spatialite' is my path.
const Database = require('better-sqlite3');
const db = new Database('foobar.sqlite', { verbose: console.log });
db.loadExtension('./spatialite/mod_spatialite');
Is there any way to load this extension in nodeJS or this library can not do that?