Skip to content

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

Closed
@turbocrime

Description

@turbocrime

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

Metadata

Metadata

Assignees

Labels

feature requestIssues that request new features to be added to Node.js.sqliteIssues and PRs related to the SQLite subsystem.

Type

No type

Projects

Status

Awaiting Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions