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 support statement.run with TypedArray #56384

Open
himself65 opened this issue Dec 28, 2024 · 1 comment · May be fixed by #56385
Open

node:sqlite support statement.run with TypedArray #56384

himself65 opened this issue Dec 28, 2024 · 1 comment · May be fixed by #56385
Labels
feature request Issues that request new features to be added to Node.js.

Comments

@himself65
Copy link
Member

What is the problem this feature will solve?

for (const [id, vector] of items) {
  insertStmt.run(BigInt(id), new Float32Array(vector));
}

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

sqlite3 supports this!

What alternatives have you considered?

I have to add a wrapper to uint8array for now

@himself65 himself65 added the feature request Issues that request new features to be added to Node.js. label Dec 28, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Dec 28, 2024
@Rhopz12

This comment has been minimized.

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.

2 participants