@rex0220/kintone-sql-tools 2.10.0 → 2.10.1
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-cli/ksql.js +1 -1
- package/dist-mcp/ksql-mcp.js +2 -2
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +1 -1
package/dist-cli/ksql.js
CHANGED
|
@@ -5873,7 +5873,7 @@ async function executeSimpleSelect(stmt, client, options, cacheContext) {
|
|
|
5873
5873
|
const warnings = /* @__PURE__ */ new Set();
|
|
5874
5874
|
const onLimit = options.onLimitReached ?? "error";
|
|
5875
5875
|
const parallel = options.fetchParallel ?? 1;
|
|
5876
|
-
const useSingleGet =
|
|
5876
|
+
const useSingleGet = stmt.limit !== null && stmt.limit <= 500;
|
|
5877
5877
|
let records;
|
|
5878
5878
|
if (useSingleGet) {
|
|
5879
5879
|
const res = await client.getRecords({
|
package/dist-mcp/ksql-mcp.js
CHANGED
|
@@ -36774,7 +36774,7 @@ async function executeSimpleSelect(stmt, client, options, cacheContext) {
|
|
|
36774
36774
|
const warnings = /* @__PURE__ */ new Set();
|
|
36775
36775
|
const onLimit2 = options.onLimitReached ?? "error";
|
|
36776
36776
|
const parallel = options.fetchParallel ?? 1;
|
|
36777
|
-
const useSingleGet =
|
|
36777
|
+
const useSingleGet = stmt.limit !== null && stmt.limit <= 500;
|
|
36778
36778
|
let records;
|
|
36779
36779
|
if (useSingleGet) {
|
|
36780
36780
|
const res = await client.getRecords({
|
|
@@ -40886,7 +40886,7 @@ Options:
|
|
|
40886
40886
|
-h, --help Show help
|
|
40887
40887
|
`);
|
|
40888
40888
|
}
|
|
40889
|
-
var SERVER_VERSION = true ? "2.10.
|
|
40889
|
+
var SERVER_VERSION = true ? "2.10.1" : "0.0.0-dev";
|
|
40890
40890
|
function createServer(args) {
|
|
40891
40891
|
const server = new McpServer({
|
|
40892
40892
|
name: "ksql-mcp",
|
package/dist-mcpb/ksql-mcp.mcpb
CHANGED
|
Binary file
|