Skip to content

kvstore: access multiple tables/singletons #353

Description

@nrc

Access to tables in a transaction is via an &mut reference, which means only one table can be accessed at a time. We should be able to access multiple distinct tables and singletons at the same time.

Some ideas for implementation:

  • Allow access via an immutable ref to the transaction and dynamically track the tables/singletons to ensure uniqueness
  • Allow opening multiple tables at once (but this doesn't address the issue of singletons)
  • Allow some way to open further tables/singletons from a table object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions