@rex0220/kintone-sql-tools 3.40.0 → 3.41.0
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 +5 -4
- package/dist-engine/index.cjs +2 -2
- package/dist-engine/index.mjs +2 -2
- package/dist-engine/ksql-engine.umd.js +2 -2
- package/dist-engine/meta/bundle-baseline.json +7 -7
- package/dist-engine/meta/cjs.json +3 -3
- package/dist-engine/meta/esm.json +3 -3
- package/dist-engine/meta/umd.json +3 -3
- package/dist-engine/publicTypes.d.ts +2 -2
- package/dist-mcp/ksql-mcp.js +7 -6
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +1 -1
package/dist-cli/ksql.js
CHANGED
|
@@ -23153,9 +23153,10 @@ function buildExplainPlan(query, label, capabilities, orderPlans, dmlMaxRows = 1
|
|
|
23153
23153
|
}
|
|
23154
23154
|
var EXPLAIN_FETCH_VALUE_RANK = {
|
|
23155
23155
|
none: 0,
|
|
23156
|
-
|
|
23157
|
-
|
|
23158
|
-
|
|
23156
|
+
count_only: 1,
|
|
23157
|
+
exact: 2,
|
|
23158
|
+
prefiltered: 3,
|
|
23159
|
+
all: 4
|
|
23159
23160
|
};
|
|
23160
23161
|
function worstExplainFetch(sources) {
|
|
23161
23162
|
return sources.reduce(
|
|
@@ -23284,7 +23285,7 @@ function buildSelectPlan(stmt, label, capabilities, orderPlans, plainGroupByPlan
|
|
|
23284
23285
|
stmt.from.appId,
|
|
23285
23286
|
stmt.from.alias,
|
|
23286
23287
|
sourceRole,
|
|
23287
|
-
"
|
|
23288
|
+
"COUNT_ONLY",
|
|
23288
23289
|
`${baseQuery}${baseQuery ? " " : ""}limit 1`
|
|
23289
23290
|
);
|
|
23290
23291
|
lines.push(renderFetchScope(source));
|