-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
What is the problem this feature will solve?
I have a custom SQLite VFS implementation and I want to open a database within the VFS. SQLite allows me to specify the VFS implementation as a query parameter for URI filenames.
What is the feature you are proposing to solve the problem?
Add an allowLocationUri boolean property to DatabaseSync#options which causes SQLITE_OPEN_URI to be passed to sqlite3_open_v2().
What alternatives have you considered?
- Always pass
SQLITE_OPEN_URItosqlite3_open_v2()likego-sqlite3or the rust bindingsrusqlitedo. Note that specifyingSQLITE_OPEN_URIdoes not requirelocationto be an URI. - Allow passing arbitrary open flags.
node-sqlite3chose this path.
johnpyp
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Type
Projects
Status
Awaiting Triage