objectbox / objectbox/objectbox-java
Support query filter for ID and property query
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I open this issue because I need to work with filters but whatever I do apart from QueryBuilder.filter().find() ignores the filter I made.
for example I need an array of ids and understand that in the case of QueryBuilder.filter().findIds() the definition explicitly says that the call ignores the filter, so try assigning QueryBuilder.filter().property(example_.id) .findLongs() but also in this way the filter is ignored , if I also try to do QueryBuilder.filter().count() the same
any solution other than going through the list?
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
Start by reproducing the reported behavior with QueryBuilder.filter().findIds(), property(...).findLongs(), and count(), comparing their results with filter().find(). The work is complete when the expected filtered results are supported or the limitation is clearly established and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100