@superatomai/sdk-node 0.0.30-mds → 0.0.31-mds
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4326,10 +4326,10 @@ function getDatabaseType() {
|
|
|
4326
4326
|
function getDbTypeFromToolId(toolId) {
|
|
4327
4327
|
if (!toolId) return getDatabaseType();
|
|
4328
4328
|
const prefix = toolId.split("-")[0]?.toLowerCase();
|
|
4329
|
-
if (prefix
|
|
4330
|
-
if (prefix
|
|
4331
|
-
if (prefix
|
|
4332
|
-
if (prefix
|
|
4329
|
+
if (prefix.startsWith("mssql")) return "mssql";
|
|
4330
|
+
if (prefix.startsWith("postgres")) return "postgresql";
|
|
4331
|
+
if (prefix.startsWith("mysql")) return "mysql";
|
|
4332
|
+
if (prefix.startsWith("snowflake")) return "snowflake";
|
|
4333
4333
|
return getDatabaseType();
|
|
4334
4334
|
}
|
|
4335
4335
|
function convertTopToLimit(query) {
|