Skip to content

feat: 增加使用连接串的数据库查询插件,以便配置各类额外连接参数 #4501

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mmagi
Copy link
Contributor

@mmagi mmagi commented Apr 10, 2025

参考数据库连接插件,但改用连接串来配置服务器地址等,便于根据各种不同数据库配各自的额外参数,例如mysql的时区、字符集,SQLServer加密。
考虑到直接修改数据库连接插件还要处理向前兼容的复杂问题,所以新建了一个插件,供参考

Copy link
Contributor

gru-agent bot commented Apr 10, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail dca9259 🚫 Skipped No files need to be tested {"packages/plugins/register.ts":"target file(packages/plugins/register.ts) not in work scope \n include: projects/app/src//*.ts \n exclude: node_modules,/.test.ts,**/.test.tsx,/*.spec.ts,/.spec.tsx,**/.d.ts,/*.test.js,/.spec.js","packages/plugins/src/databaseQuery/index.ts":"target file(packages/plugins/src/databaseQuery/index.ts) not in work scope \n include: projects/app/src/**/.ts \n exclude: node_modules,/*.test.ts,/.test.tsx,**/.spec.ts,/*.spec.tsx,/.d.ts,**/.test.js,/*.spec.js","packages/plugins/src/databaseQuery/template.json":"target file(packages/plugins/src/databaseQuery/template.json) not in work scope \n include: projects/app/src//.ts \n exclude: node_modules,**/.test.ts,/*.test.tsx,/.spec.ts,**/.spec.tsx,/*.d.ts,/.test.js,**/.spec.js"}

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

Preview Image: ghcr.io/labring/fastgpt-pr:dca9259fbe3400787ec816a9139f85c44b64b188

@mmagi mmagi force-pushed the feat-databasequery-plugin-connectionstring branch from dca9259 to ef02d5e Compare April 19, 2025 13:38
Copy link

Preview mcp_server Image: ghcr.io/labring/fastgpt-pr:fatsgpt_mcp_server_ef02d5e3de1c9d6558de8102cc50a62b22ae3bd2

Copy link

Preview sandbox Image: ghcr.io/labring/fastgpt-pr:fatsgpt_sandbox_ef02d5e3de1c9d6558de8102cc50a62b22ae3bd2

Copy link

Preview fastgpt Image: ghcr.io/labring/fastgpt-pr:fatsgpt_ef02d5e3de1c9d6558de8102cc50a62b22ae3bd2

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant