Skip to content

fix(extension): 修复 Db 类 count 方法返回值为空时的异常#6798

Open
heliming wants to merge 2 commits intobaomidou:3.0from
heliming:3.0
Open

fix(extension): 修复 Db 类 count 方法返回值为空时的异常#6798
heliming wants to merge 2 commits intobaomidou:3.0from
heliming:3.0

Conversation

@heliming
Copy link

@heliming heliming commented May 8, 2025

fix: Db.count in extension module produce NullPointerException when query wrapper hit no rows

helm30 and others added 2 commits May 9, 2025 01:11
…免返回 null 时抛出空指针异常

- 新增单元测试用例验证 count 方法在查询结果为空时的正确性
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant