objectbox / objectbox/objectbox-java
Feature request : QueryCondition.relationCountGT / .relationCountLT
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
First things first, I've really been enjoying the new query API as well as the new features of v3.5.0. That helps me building a cleaner and faster data layer. Thanks guys for listening to us~
I'd love to have two extra methods akin to the new relationCount query condition to check if the relation count is greater than or lower than a certain number; typically to test if entity X has existing relations (i.e. > 0) or if it reaches a given threshold.
Would that be possible ?
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
Begin with the QueryCondition.relationCount API named in the request and locate its implementation and existing coverage. Define consistent greater-than and less-than relation-count behavior, including zero and threshold cases; done means both query conditions work through the Java API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100