feat: 增加使用连接串的数据库查询插件,以便配置各类额外连接参数 #4501
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
参考数据库连接插件,但改用连接串来配置服务器地址等,便于根据各种不同数据库配各自的额外参数,例如mysql的时区、字符集,SQLServer加密。
考虑到直接修改数据库连接插件还要处理向前兼容的复杂问题,所以新建了一个插件,供参考