@axiom-lattice/core 2.1.31 → 2.1.32

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.mjs CHANGED
@@ -2945,9 +2945,10 @@ ${serverKeys.map(
2945
2945
  datasourceId,
2946
2946
  customSql,
2947
2947
  params,
2948
- limit: limit || 1e3
2948
+ limit: limit || 100
2949
2949
  });
2950
- return JSON.stringify(result, null, 2);
2950
+ const rows = result.result?.rows || [];
2951
+ return "query_result:\n" + JSON.stringify(rows, null, 2);
2951
2952
  } catch (error) {
2952
2953
  return `Error executing SQL query: ${error instanceof Error ? error.message : String(error)}`;
2953
2954
  }