objectbox / objectbox/objectbox-java
Support query filter for ID and property query
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 4.6k
- 派生
- 311
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用 QueryBuilder.filter().findIds()、property(...).findLongs() 和 count() 重现报告的行为,并将它们的结果与 filter().find() 进行比较。当预期的筛选结果得到支持,或明确确定并记录该限制时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- databases
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100