@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 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 === "mssql") return "mssql";
4330
- if (prefix === "postgres" || prefix === "postgresql") return "postgresql";
4331
- if (prefix === "mysql") return "mysql";
4332
- if (prefix === "snowflake") return "snowflake";
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) {