coze-dev / coze-dev/coze-studio

数据库条件查询问题

Open
#1,983 3 comments 0 reactions 1 assignee Claimed by @JonXSnow View on GitHub
mod/workflow
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

使用“或”对取两个条件的查询结果,当其中一个条件的查询结果为空时,会错误地将所有表项作为结果返回,而不是返回正确的查询结果。

Image

- 使用“或”查询时

Image

- 单一查询时

Image

Image

使用同样的表和查询内容,线上coze则会返回正确的查询结果:

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.