@rex0220/kintone-sql-tools 3.52.0 → 3.54.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
@@ -13596,7 +13596,7 @@ function evalAggregate(func, distinct, arg, separator, rows, resolveAggSortKind)
13596
13596
  }
13597
13597
  if (func === "MIN" || func === "MAX") {
13598
13598
  const comparableValues = eff;
13599
- if (comparableValues.length === 0) return 0;
13599
+ if (comparableValues.length === 0) return "";
13600
13600
  let result = comparableValues[0];
13601
13601
  for (const candidate of comparableValues.slice(1)) {
13602
13602
  const cmp = compareCanonicalValues(candidate, result, semantics);
@@ -17725,7 +17725,7 @@ function canProveTotalWindowOrder(stmt, orderBy, resolveField2, context) {
17725
17725
  }
17726
17726
  function tieBreakAdvice(context, kind) {
17727
17727
  if (context !== "DIRECT") {
17728
- return "\u305D\u306E\u8868\u306E\u4E2D\u3067\u4E00\u610F\u306B\u306A\u308B\u5217\uFF08\u5143\u306E\u96C6\u7D04\u306E\u30AD\u30FC\u306A\u3069\uFF09\u3092 ORDER BY \u306B\u542B\u3081\u3066\u304F\u3060\u3055\u3044\u3002";
17728
+ return "\u305D\u306E\u8868\u306E\u4E2D\u3067\u4E00\u610F\u306B\u306A\u308B\u5217\uFF08\u5143\u306E\u96C6\u7D04\u306E\u30AD\u30FC\u306A\u3069\uFF09\u3092 ORDER BY \u306B\u542B\u3081\u3066\u304F\u3060\u3055\u3044\u3002\u96C6\u7D04\u7D50\u679C\u306E\u5217\u306F\u4E00\u610F\u3067\u3082\u8A3C\u660E\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u3059\u3067\u306B\u4E00\u610F\u306A\u5834\u5408\u3082\u3053\u306E\u8B66\u544A\u304C\u51FA\u307E\u3059\u3002";
17729
17729
  }
17730
17730
  return kind === "RANGE" ? "ORDER BY \u306B\u30EC\u30B3\u30FC\u30C9\u756A\u53F7\u306A\u3069\u306E\u30BF\u30A4\u30D6\u30EC\u30FC\u30AF\u30AD\u30FC\u3092\u8DB3\u3057\u3066\u304F\u3060\u3055\u3044\u3002" : "\u30EC\u30B3\u30FC\u30C9\u756A\u53F7\u7B49\u3092 ORDER BY \u306B\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
17731
17731
  }