better-sqlite3 icon indicating copy to clipboard operation
better-sqlite3 copied to clipboard

The fastest and simplest library for SQLite3 in Node.js.

Results 128 better-sqlite3 issues
Sort by recently updated
recently updated
newest added

# General Help Thread This thread is for anyone who needs help using SQLite or Node.js with regards to `better-sqlite3`. It's common for issues to appear with titles like `"Help...

sticky

From sqlite.org: SQLITE_MEMDB_DEFAULT_MAXSIZE=N Set the default size limit (in bytes) for in-memory databases created using [sqlite3_deserialize()](https://www.sqlite.org/c3ref/deserialize.html). This is just the default. The limit can be changed at start-time using [sqlite3_config](https://www.sqlite.org/c3ref/config.html)([SQLITE_CONFIG_MEMDB_MAXSIZE](https://www.sqlite.org/c3ref/c_config_covering_index_scan.html#sqliteconfigmemdbmaxsize),N)...

question

freezing at/after "reify:better-sqlite3: timing reifyNode:node_modules/tar-fs Completed in 351ms" stopped it after few minutes: npm ERR! signal SIGINT npm ERR! command sh -c prebuild-install || npm run build-release npm ERR! >...

help wanted
installation

Test run: https://github.com/qier222/better-sqlite3/actions/runs/2804599147 build.yml for test: https://github.com/qier222/better-sqlite3/blob/master/.github/workflows/build.yml I have tested it on my project using Electron 18, works fine.

For a few versions of Electron it has been warning that the CreationContext was depreciate (or more correctly depreciated in v8). With electron 20, the bundled version of tooling no...

help wanted
installation

# Electron Help Thread This thread is for anyone who needs help using [Electron](https://electronjs.org/) with `better-sqlite3`. `better-sqlite3` is a Node.js package, not an Electron package. If third parties like Electron...

sticky

I have all tried, install gyp globale, i have the last version of nodejs, install all packages i can, add all perms to termux, and always the same problems :...

help wanted
installation

Hi, I'm trying to get better-sqlite3 working with [mvsqlite](https://github.com/losfair/mvsqlite). mvsqlite can `LD_PRELOAD` into existing SQLite applications, given that the application dynamically links to `libsqlite3.so`. I patched better-sqlite3's build scripts and...

enhancement

I'd like to use several in-mem DBs in the same thread. So I am considering if I can create them like: `new Database('file:memdb1?mode=memory&cache=shared')` as mentioned in [https://www.sqlite.org/inmemorydb.html](https://www.sqlite.org/inmemorydb.html). But after the...

question
wontfix

Following [the guide](https://github.com/WiseLibs/better-sqlite3/blob/master/docs/compilation.md) I can use a customized version of SQLite3 with better-sqlite3, but only for recent versions. Older versions like 3.16.2 fall over with errors like this: ``` npm...