Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new storage acessors #29

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Added new storage acessors #29

merged 4 commits into from
Apr 25, 2024

Conversation

Trantorian1
Copy link
Contributor

Pull Request type

  • Feature

What is the new behavior?

  • Updated get_keys to be easier to use.
  • Added get_key_value_pairs to retrieve all key-values at a given identifier.
  • Added get_latest_id to retrieve the last committed id in a BonsaiStorage.
  • Added get_at to more efficiently retrieve a value at a previous commit id without having to revert the entire state of the db in a transactional storage.

Does this introduce a breaking change?

No.

Trantorian added 4 commits April 4, 2024 02:03
Updated `get_keys` to be easier to use.
Added `get_key_value_pairs` to retrieve all key-values for a given identifier.
Added `get_latest_id` to retrieve the latest id committed to a `BonsaiStorage`.
@AurelienFT AurelienFT merged commit a026d0d into madara-alliance:oss Apr 25, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants