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

node:sqlite: sqlite module should provide wrapper for sqlite3_create_window_function api #56511

Open
turbocrime opened this issue Jan 7, 2025 · 0 comments
Labels
feature request Issues that request new features to be added to Node.js.

Comments

@turbocrime
Copy link

What is the problem this feature will solve?

i want to create user-defined window functions when using my sqlite database.

node:sqlite provides a wrapper for sqlite3_create_function_v2, but sqlite expects window functions to be defined with sqlite3_create_window_function

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

node:sqlite should provide an additional wrapper for sqlite3_create_window_function, or extend the behavior of the existing wrapper to use it conditionally.

What alternatives have you considered?

defining an aggregate window function on a database opened with node:sqlite requires C FFI by the node:sqlite module

@turbocrime turbocrime added the feature request Issues that request new features to be added to Node.js. label Jan 7, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Jan 7, 2025
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.
Projects
Status: Awaiting Triage
Development

No branches or pull requests

1 participant