litesuits / litesuits/android-lite-orm
查询id对不上结果对不上
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 359
- PR merge metrics
- No merged PRs in 30d
Description
保存数据id为1-8;使用
QueryBuilder queryBuilder = new QueryBuilder(ProblemDetailBean.class);
queryBuilder.whereEquals("id", "5");
或queryById(5, MyClass.class) 均没有返回值(确定query(MyClass.class)返回了所有值, debug断点查了20分钟确定)。设置whereLessThan(“5”)时返回了所有值。
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 cases through QueryBuilder: query(MyClass.class), whereEquals("id", "5"), queryById(5, MyClass.class), and whereLessThan("5"). Trace the query entry points and SQLite filtering involved; done means the id lookup returns the matching saved record and the less-than condition no longer returns every record.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, sqlite
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100