Skip to content

sqlite: abortable backup #58888

@Renegade334

Description

@Renegade334

What is the problem this feature will solve?

Once started, there is currently no way to abandon a database backup operation in node:sqlite.

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

The sqlite.backup() method should accept an abort signal, which would trigger an early call to sqlite3_backup_finish() to abort and rollback the backup operation.

This would presumably necessitate some sort of JS wrapper.

cc: @nodejs/sqlite

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    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