- Fix a couple of edge cases while switching between collections.
- Raise error if attempting to switch collections mid-transaction.
- Add logic for re-entrancy with long-running transactions.
- Revert to the prior collection if passing a block to #collection.
- Add a predicate to tell if you're currently within a long-running transaction.
- Add separate commit/rollback to long-running transactions.
FossilOrigin-Name: 711239e6fc2f25479a26fb54805da1e5db792f97f28a8b5724e0b38eb11cdb07
- Provide a method to reopen the database environment if closed.
- Add #keys, which returns an array of keys for the current collection.
- Finish collection/namespace implementation.
- Add various aliases (collection->namespace, etc)
- Add #clear, which destroys data for a the current collection.
If called in the main db, destroys all. Don't close the environment
after a #clear, just the dbi handle.
- Various bugfixes.
FossilOrigin-Name: 8b00d59e8c5269266f3c6c0d10056a1c0fe1bb583ffbe099a6ed0dac3baf3a66
Fleshing out collections, automatic serialization of values. Stringify
all keys.
FossilOrigin-Name: 8bb5e27eacd18bc34b60309a03cdce31921f790c821dab89bf12cd9bfc19825d