isar / isar/hive

Add a "modified" timestamp for key-value pairs

Open
#1,218 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

It would be great if key-value pairs had a timestamp of when they were last modified (or created).
For example:
```
var box = Hive.box('myBox');
box.put('name', 'David');
DateTime modified = box.modified('name');
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Hive.box and box.put entry points shown in the example to understand where key-value metadata is stored. Define how box.modified('name') should behave for created and updated pairs, then verify that it returns the expected DateTime after writes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.