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.
Access to tables in a transaction is via an
&mutreference, 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: