@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.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2945,9 +2945,10 @@ ${serverKeys.map(
|
|
|
2945
2945
|
datasourceId,
|
|
2946
2946
|
customSql,
|
|
2947
2947
|
params,
|
|
2948
|
-
limit: limit ||
|
|
2948
|
+
limit: limit || 100
|
|
2949
2949
|
});
|
|
2950
|
-
|
|
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
|
}
|