Skip to content

Conversation

mmengLong
Copy link

搜了一下,应该没有其余的了

@TommyLemon
Copy link
Member

确实,非常感谢~

打算后面直接在 AbstractSQLExecutor 中加上这两个方法统一调用,避免不同 Demo 后续可能再次改漏
String getConnectionKey(SQLConfig config) {
return getConnectionKey(config.getNamespace(), config.getCatalog(), config.getDatasource(), config.getDatabase());
}
String getConnectionKey(String namespace, String catalog, String datasource, String database) {
return namespace + "-" + catalog + "-" + datasource + "-" + database;
}
其中 catalog 是待新增的一个数据库层级

@TommyLemon TommyLemon merged commit c48f449 into APIJSON:master Feb 21, 2025
@TommyLemon
Copy link
Member

TommyLemon commented Feb 21, 2025

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.

2 participants