@rex0220/kintone-sql-tools 3.70.0 → 3.72.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.
@@ -69,7 +69,7 @@
69
69
  "format": "esm"
70
70
  },
71
71
  "src/types/ast.ts": {
72
- "bytes": 38224,
72
+ "bytes": 38496,
73
73
  "imports": [
74
74
  {
75
75
  "path": "src/core/exactDecimal.ts",
@@ -101,7 +101,7 @@
101
101
  "format": "esm"
102
102
  },
103
103
  "src/parser/parser.ts": {
104
- "bytes": 217567,
104
+ "bytes": 218421,
105
105
  "imports": [
106
106
  {
107
107
  "path": "src/lexer/tokens.ts",
@@ -762,7 +762,7 @@
762
762
  "format": "esm"
763
763
  },
764
764
  "src/core/applyPatchPlanner.ts": {
765
- "bytes": 29035,
765
+ "bytes": 29049,
766
766
  "imports": [
767
767
  {
768
768
  "path": "src/converter/dmlToKintone.ts",
@@ -1492,7 +1492,7 @@
1492
1492
  "format": "esm"
1493
1493
  },
1494
1494
  "src/execute.ts": {
1495
- "bytes": 593690,
1495
+ "bytes": 612635,
1496
1496
  "imports": [
1497
1497
  {
1498
1498
  "path": "src/lexer/lexer.ts",
@@ -1961,12 +1961,12 @@
1961
1961
  "format": "esm"
1962
1962
  },
1963
1963
  "src/flow-library/publicTypes.ts": {
1964
- "bytes": 8442,
1964
+ "bytes": 9414,
1965
1965
  "imports": [],
1966
1966
  "format": "esm"
1967
1967
  },
1968
1968
  "src/flow-library/index.ts": {
1969
- "bytes": 9925,
1969
+ "bytes": 13419,
1970
1970
  "imports": [
1971
1971
  {
1972
1972
  "path": "src/core/diagnostics.ts",
@@ -2019,7 +2019,7 @@
2019
2019
  "entryPoint": "src/flow-library/index.ts",
2020
2020
  "inputs": {
2021
2021
  "src/flow-library/index.ts": {
2022
- "bytesInOutput": 3749
2022
+ "bytesInOutput": 5776
2023
2023
  },
2024
2024
  "src/core/diagnostics.ts": {
2025
2025
  "bytesInOutput": 755
@@ -2058,7 +2058,7 @@
2058
2058
  "bytesInOutput": 3001
2059
2059
  },
2060
2060
  "src/parser/parser.ts": {
2061
- "bytesInOutput": 128344
2061
+ "bytesInOutput": 128834
2062
2062
  },
2063
2063
  "src/engine/pushDownNot.ts": {
2064
2064
  "bytesInOutput": 793
@@ -2313,7 +2313,7 @@
2313
2313
  "bytesInOutput": 412
2314
2314
  },
2315
2315
  "src/execute.ts": {
2316
- "bytesInOutput": 236422
2316
+ "bytesInOutput": 243961
2317
2317
  },
2318
2318
  "src/api/cursorLeaseManager.ts": {
2319
2319
  "bytesInOutput": 1777
@@ -2340,7 +2340,7 @@
2340
2340
  "bytesInOutput": 442
2341
2341
  }
2342
2342
  },
2343
- "bytes": 673938
2343
+ "bytes": 684011
2344
2344
  }
2345
2345
  }
2346
2346
  }
@@ -69,7 +69,7 @@
69
69
  "format": "esm"
70
70
  },
71
71
  "src/types/ast.ts": {
72
- "bytes": 38224,
72
+ "bytes": 38496,
73
73
  "imports": [
74
74
  {
75
75
  "path": "src/core/exactDecimal.ts",
@@ -101,7 +101,7 @@
101
101
  "format": "esm"
102
102
  },
103
103
  "src/parser/parser.ts": {
104
- "bytes": 217567,
104
+ "bytes": 218421,
105
105
  "imports": [
106
106
  {
107
107
  "path": "src/lexer/tokens.ts",
@@ -762,7 +762,7 @@
762
762
  "format": "esm"
763
763
  },
764
764
  "src/core/applyPatchPlanner.ts": {
765
- "bytes": 29035,
765
+ "bytes": 29049,
766
766
  "imports": [
767
767
  {
768
768
  "path": "src/converter/dmlToKintone.ts",
@@ -1492,7 +1492,7 @@
1492
1492
  "format": "esm"
1493
1493
  },
1494
1494
  "src/execute.ts": {
1495
- "bytes": 593690,
1495
+ "bytes": 612635,
1496
1496
  "imports": [
1497
1497
  {
1498
1498
  "path": "src/lexer/lexer.ts",
@@ -1961,12 +1961,12 @@
1961
1961
  "format": "esm"
1962
1962
  },
1963
1963
  "src/flow-library/publicTypes.ts": {
1964
- "bytes": 8442,
1964
+ "bytes": 9414,
1965
1965
  "imports": [],
1966
1966
  "format": "esm"
1967
1967
  },
1968
1968
  "src/flow-library/index.ts": {
1969
- "bytes": 9925,
1969
+ "bytes": 13419,
1970
1970
  "imports": [
1971
1971
  {
1972
1972
  "path": "src/core/diagnostics.ts",
@@ -2024,6 +2024,7 @@
2024
2024
  "explainScript",
2025
2025
  "isDmlResult",
2026
2026
  "parseScript",
2027
+ "previewStatement",
2027
2028
  "validateScript",
2028
2029
  "version"
2029
2030
  ],
@@ -2066,7 +2067,7 @@
2066
2067
  "bytesInOutput": 3001
2067
2068
  },
2068
2069
  "src/parser/parser.ts": {
2069
- "bytesInOutput": 128344
2070
+ "bytesInOutput": 128834
2070
2071
  },
2071
2072
  "src/engine/pushDownNot.ts": {
2072
2073
  "bytesInOutput": 793
@@ -2321,7 +2322,7 @@
2321
2322
  "bytesInOutput": 412
2322
2323
  },
2323
2324
  "src/execute.ts": {
2324
- "bytesInOutput": 236422
2325
+ "bytesInOutput": 243961
2325
2326
  },
2326
2327
  "src/api/cursorLeaseManager.ts": {
2327
2328
  "bytesInOutput": 1777
@@ -2348,10 +2349,10 @@
2348
2349
  "bytesInOutput": 442
2349
2350
  },
2350
2351
  "src/flow-library/index.ts": {
2351
- "bytesInOutput": 3479
2352
+ "bytesInOutput": 5482
2352
2353
  }
2353
2354
  },
2354
- "bytes": 673310
2355
+ "bytes": 683365
2355
2356
  }
2356
2357
  }
2357
2358
  }
@@ -576,8 +576,10 @@ export interface InsertStatement {
576
576
  rejectLimit?: number | null;
577
577
  checkGroups?: CheckGroup[];
578
578
  }
579
- /** 1 行分の値リスト */
580
- export type InsertRow = (StringLiteral | NumberLiteral | ArrayLiteral | CaseSqlValue)[];
579
+ /** UPSERT VALUES / APPLY APPEND を含む、従来どおりリテラル限定の 1 行分の値リスト。 */
580
+ export type LiteralInsertRow = (StringLiteral | NumberLiteral | ArrayLiteral | CaseSqlValue)[];
581
+ /** 通常の INSERT VALUES は dialect 1 の as-of 内部変数を解決前に保持できる。 */
582
+ export type InsertRow = (LiteralInsertRow[number] | VariableRef)[];
581
583
  /**
582
584
  * UPSERT INTO APP100 (フィールド1, ...) VALUES (値1, ...) ON DUPLICATE (キーフィールド)
583
585
  *
@@ -587,7 +589,7 @@ export interface UpsertStatement {
587
589
  type: "UPSERT";
588
590
  appId: number;
589
591
  fields: string[];
590
- values: InsertRow[];
592
+ values: LiteralInsertRow[];
591
593
  /** ON DUPLICATE (フィールド名) — 重複判定キー */
592
594
  keyFields: string[];
593
595
  /** 新規親を作成する分岐のサブテーブル初期行操作。省略時は undefined。 */
@@ -726,7 +728,7 @@ export interface PatchOperation {
726
728
  export interface AppendOperation {
727
729
  kind: "APPEND";
728
730
  fields: string[];
729
- values: InsertRow[];
731
+ values: LiteralInsertRow[];
730
732
  }
731
733
  /** v1.2 用の構文ノード。Phase 1 では scope validator が実行を拒否する。 */
732
734
  export interface RemoveOperation {