Description
What is the problem this feature will solve?
SQLite has a few compile-time extensions that are not enabled by default in Node.js, meaning developers cannot use them out of the box.
Inspired by #56447, I suggest enabling all SQLite extensions that do not require additional code written by default (just as the math functions from #56447). We should target the entire SQLite amalgamation and all the other default extensions (again, such as the math functions from #56447).
Potential candidates include:
- Full Text Search 5, with
-DSQLITE_ENABLE_FTS5
. - Full Text Search 3, with
-DSQLITE_ENABLE_FTS3
and-DSQLITE_ENABLE_FTS3_PARENTHESIS
. - R*Tree Module, with
-DSQLITE_ENABLE_RTREE
. - DBSTAT Virtual Table, with
-DSQLITE_ENABLE_DBSTAT_VTAB
. - The RBU Extension, with
-DSQLITE_ENABLE_RBU
.
Unless there are explicit reasons why these should not be included, I see no reason to withhold them from developers.
What is the feature you are proposing to solve the problem?
Add the extensions' compile-time extension flags to Node.
What alternatives have you considered?
Compiling and linking your build of SQLite with the extensions enabled is a major hassle for developers and users alike.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status