@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 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
- exact: 1,
23157
- prefiltered: 2,
23158
- all: 3
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
- "NONE",
23288
+ "COUNT_ONLY",
23288
23289
  `${baseQuery}${baseQuery ? " " : ""}limit 1`
23289
23290
  );
23290
23291
  lines.push(renderFetchScope(source));