Skip to content

IdbVersionChangeEvent should expose the current IdbTransaction #20

@zecakeh

Description

@zecakeh

This event is fired during a transaction with mode versionchange, which should be available in event.target.transaction.

Although accessing the IdbDatabase allows us to create/delete object stores and set their indexes, it doesn't allow to access current stores. We need to access them via the IdbTransaction.

It would allow to change the indexes of the existing object stores, and to fix data in the stores or even migrate data from one store to the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReleasedThis issue's resolution is now available in a published release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions