@rex0220/kintone-sql-tools 3.71.0 → 3.73.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": 611305,
1495
+ "bytes": 632385,
1496
1496
  "imports": [
1497
1497
  {
1498
1498
  "path": "src/lexer/lexer.ts",
@@ -1915,7 +1915,7 @@
1915
1915
  "format": "esm"
1916
1916
  },
1917
1917
  "src/flow-library/writableClient.ts": {
1918
- "bytes": 8570,
1918
+ "bytes": 8817,
1919
1919
  "imports": [
1920
1920
  {
1921
1921
  "path": "src/api/cursorLeaseManager.ts",
@@ -1961,12 +1961,12 @@
1961
1961
  "format": "esm"
1962
1962
  },
1963
1963
  "src/flow-library/publicTypes.ts": {
1964
- "bytes": 9414,
1964
+ "bytes": 10433,
1965
1965
  "imports": [],
1966
1966
  "format": "esm"
1967
1967
  },
1968
1968
  "src/flow-library/index.ts": {
1969
- "bytes": 13419,
1969
+ "bytes": 14123,
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": 5776
2022
+ "bytesInOutput": 6063
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": 243455
2316
+ "bytesInOutput": 251805
2317
2317
  },
2318
2318
  "src/api/cursorLeaseManager.ts": {
2319
2319
  "bytesInOutput": 1777
@@ -2331,7 +2331,7 @@
2331
2331
  "bytesInOutput": 102
2332
2332
  },
2333
2333
  "src/flow-library/writableClient.ts": {
2334
- "bytesInOutput": 3731
2334
+ "bytesInOutput": 3845
2335
2335
  },
2336
2336
  "src/flow-library/errors.ts": {
2337
2337
  "bytesInOutput": 427
@@ -2340,7 +2340,7 @@
2340
2340
  "bytesInOutput": 442
2341
2341
  }
2342
2342
  },
2343
- "bytes": 683015
2343
+ "bytes": 692256
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": 611305,
1495
+ "bytes": 632385,
1496
1496
  "imports": [
1497
1497
  {
1498
1498
  "path": "src/lexer/lexer.ts",
@@ -1915,7 +1915,7 @@
1915
1915
  "format": "esm"
1916
1916
  },
1917
1917
  "src/flow-library/writableClient.ts": {
1918
- "bytes": 8570,
1918
+ "bytes": 8817,
1919
1919
  "imports": [
1920
1920
  {
1921
1921
  "path": "src/api/cursorLeaseManager.ts",
@@ -1961,12 +1961,12 @@
1961
1961
  "format": "esm"
1962
1962
  },
1963
1963
  "src/flow-library/publicTypes.ts": {
1964
- "bytes": 9414,
1964
+ "bytes": 10433,
1965
1965
  "imports": [],
1966
1966
  "format": "esm"
1967
1967
  },
1968
1968
  "src/flow-library/index.ts": {
1969
- "bytes": 13419,
1969
+ "bytes": 14123,
1970
1970
  "imports": [
1971
1971
  {
1972
1972
  "path": "src/core/diagnostics.ts",
@@ -2067,7 +2067,7 @@
2067
2067
  "bytesInOutput": 3001
2068
2068
  },
2069
2069
  "src/parser/parser.ts": {
2070
- "bytesInOutput": 128344
2070
+ "bytesInOutput": 128834
2071
2071
  },
2072
2072
  "src/engine/pushDownNot.ts": {
2073
2073
  "bytesInOutput": 793
@@ -2322,7 +2322,7 @@
2322
2322
  "bytesInOutput": 412
2323
2323
  },
2324
2324
  "src/execute.ts": {
2325
- "bytesInOutput": 243455
2325
+ "bytesInOutput": 251805
2326
2326
  },
2327
2327
  "src/api/cursorLeaseManager.ts": {
2328
2328
  "bytesInOutput": 1777
@@ -2340,7 +2340,7 @@
2340
2340
  "bytesInOutput": 102
2341
2341
  },
2342
2342
  "src/flow-library/writableClient.ts": {
2343
- "bytesInOutput": 3731
2343
+ "bytesInOutput": 3845
2344
2344
  },
2345
2345
  "src/flow-library/errors.ts": {
2346
2346
  "bytesInOutput": 427
@@ -2349,10 +2349,10 @@
2349
2349
  "bytesInOutput": 442
2350
2350
  },
2351
2351
  "src/flow-library/index.ts": {
2352
- "bytesInOutput": 5482
2352
+ "bytesInOutput": 5769
2353
2353
  }
2354
2354
  },
2355
- "bytes": 682369
2355
+ "bytes": 691610
2356
2356
  }
2357
2357
  }
2358
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 {