@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.js
CHANGED
|
@@ -3133,9 +3133,10 @@ ${serverKeys.map(
|
|
|
3133
3133
|
datasourceId,
|
|
3134
3134
|
customSql,
|
|
3135
3135
|
params,
|
|
3136
|
-
limit: limit ||
|
|
3136
|
+
limit: limit || 100
|
|
3137
3137
|
});
|
|
3138
|
-
|
|
3138
|
+
const rows = result.result?.rows || [];
|
|
3139
|
+
return "query_result:\n" + JSON.stringify(rows, null, 2);
|
|
3139
3140
|
} catch (error) {
|
|
3140
3141
|
return `Error executing SQL query: ${error instanceof Error ? error.message : String(error)}`;
|
|
3141
3142
|
}
|