Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite: support sqlite3_create_function #54349

Closed
std-microblock opened this issue Aug 13, 2024 · 0 comments · Fixed by #55985
Closed

sqlite: support sqlite3_create_function #54349

std-microblock opened this issue Aug 13, 2024 · 0 comments · Fixed by #55985
Labels
feature request Issues that request new features to be added to Node.js. sqlite Issues and PRs related to the SQLite subsystem.

Comments

@std-microblock
Copy link

What is the problem this feature will solve?

With sqlite3_create_function(), it's easy to implement customized queries such as regex or nlp search. Also, this enhances alignment with existing sqlite3 libraries in Node.JS world such as sql.js or bettersqlite.

What is the feature you are proposing to solve the problem?

Expose an API like this

What alternatives have you considered?

No response

@std-microblock std-microblock added the feature request Issues that request new features to be added to Node.js. label Aug 13, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Aug 13, 2024
@RedYetiDev RedYetiDev added the sqlite Issues and PRs related to the SQLite subsystem. label Aug 13, 2024
@RedYetiDev RedYetiDev moved this from Awaiting Triage to Triaged in Node.js feature requests Aug 13, 2024
cjihrig added a commit to cjihrig/node that referenced this issue Nov 24, 2024
This commit adds support to node:sqlite for defining custom
functions that can be invoked from SQL.

Fixes: nodejs#54349
cjihrig added a commit to cjihrig/node that referenced this issue Dec 11, 2024
This commit adds support to node:sqlite for defining custom
functions that can be invoked from SQL.

Fixes: nodejs#54349
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js. sqlite Issues and PRs related to the SQLite subsystem.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants