Skip to content

node:sqlite support statement.run with TypedArray #56384

Closed
@himself65

Description

@himself65

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    Status

    Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions