Skip to content

refactor(sqlquery):增加动态参数功能;增加选中多表通过AI生成SQL语句功能#3159

Open
RankRao wants to merge 8 commits into
hhyo:masterfrom
RankRao:refactor-sqlquery
Open

refactor(sqlquery):增加动态参数功能;增加选中多表通过AI生成SQL语句功能#3159
RankRao wants to merge 8 commits into
hhyo:masterfrom
RankRao:refactor-sqlquery

Conversation

@RankRao
Copy link
Copy Markdown
Contributor

@RankRao RankRao commented Apr 29, 2026

1、sql查询支持动态参数,
示例sql:select * from table_name where add_date between '${start_date}' and '${end_date}';
通过${}的固定格式,在sql查询底下增加可配置的动态参数输入框,最终sql提交查询替换参数占位符为文本值。
#3019
2、增强AI查询功能
当前为单表结构输入给AI提示词,改为选中多表(去重)提交给后台,查询对应表结构,和自然语言一起输入给AI。增加AI输出的联表join能力。

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.84%. Comparing base (fa83fc6) to head (4e19f12).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3159      +/-   ##
==========================================
+ Coverage   82.25%   82.84%   +0.59%     
==========================================
  Files         136      137       +1     
  Lines       21759    22215     +456     
==========================================
+ Hits        17897    18405     +508     
+ Misses       3862     3810      -52     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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