objectbox / objectbox/objectbox-java
Set Max number of rows in database and remove old entries
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
Describe the solution you'd like
It would be good if we developer can set limit for maximum number of rows that can be saved in database so that if entries reach to max limit ,old entries should be deleted.
Describe alternatives you've considered
Additional context
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point, so start by locating the database configuration and persistence APIs in this Java repository. Clarify how a maximum row count is configured, which entries count, and how “old” is determined. Done should include the configurable limit, removal of entries beyond it, and tests covering the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100