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 · May be fixed by #56600
Open

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

turbocrime opened this issue Jan 7, 2025 · 0 comments · May be fixed by #56600
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

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

Successfully merging a pull request may close this issue.

1 participant