WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.26k stars 391 forks source link

Impossible to open a shared memory database #1095

Closed Guid75 closed 9 months ago

Guid75 commented 9 months ago

I tried to open a memory database that will be shared between several connections, so I tried

this.#db = new DatabaseConstructor('file:mydb?mode=memory&cache=shared');

And it seems to create a real file on my drive! Is this feature supported?

Prinzhorn commented 9 months ago

https://github.com/WiseLibs/better-sqlite3/issues/483