@rex0220/kintone-sql-tools 3.71.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.
- package/README.md +8 -5
- package/dist-cli/ksql.js +56 -25
- package/dist-engine/index.cjs +13 -13
- package/dist-engine/index.mjs +13 -13
- package/dist-engine/ksql-engine.umd.js +13 -13
- package/dist-engine/meta/bundle-baseline.json +7 -7
- package/dist-engine/meta/cjs.json +7 -7
- package/dist-engine/meta/esm.json +7 -7
- package/dist-engine/meta/umd.json +7 -7
- package/dist-flow/index.cjs +10 -10
- package/dist-flow/index.mjs +10 -10
- package/dist-flow/meta/cjs.json +7 -7
- package/dist-flow/meta/esm.json +7 -7
- package/dist-flow/types/ast.d.ts +6 -4
- package/dist-mcp/ksql-mcp.js +58 -27
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +1 -1
package/dist-flow/meta/cjs.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"format": "esm"
|
|
70
70
|
},
|
|
71
71
|
"src/types/ast.ts": {
|
|
72
|
-
"bytes":
|
|
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":
|
|
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":
|
|
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":
|
|
1495
|
+
"bytes": 612635,
|
|
1496
1496
|
"imports": [
|
|
1497
1497
|
{
|
|
1498
1498
|
"path": "src/lexer/lexer.ts",
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
"bytesInOutput": 3001
|
|
2059
2059
|
},
|
|
2060
2060
|
"src/parser/parser.ts": {
|
|
2061
|
-
"bytesInOutput":
|
|
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":
|
|
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":
|
|
2343
|
+
"bytes": 684011
|
|
2344
2344
|
}
|
|
2345
2345
|
}
|
|
2346
2346
|
}
|
package/dist-flow/meta/esm.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"format": "esm"
|
|
70
70
|
},
|
|
71
71
|
"src/types/ast.ts": {
|
|
72
|
-
"bytes":
|
|
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":
|
|
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":
|
|
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":
|
|
1495
|
+
"bytes": 612635,
|
|
1496
1496
|
"imports": [
|
|
1497
1497
|
{
|
|
1498
1498
|
"path": "src/lexer/lexer.ts",
|
|
@@ -2067,7 +2067,7 @@
|
|
|
2067
2067
|
"bytesInOutput": 3001
|
|
2068
2068
|
},
|
|
2069
2069
|
"src/parser/parser.ts": {
|
|
2070
|
-
"bytesInOutput":
|
|
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":
|
|
2325
|
+
"bytesInOutput": 243961
|
|
2326
2326
|
},
|
|
2327
2327
|
"src/api/cursorLeaseManager.ts": {
|
|
2328
2328
|
"bytesInOutput": 1777
|
|
@@ -2352,7 +2352,7 @@
|
|
|
2352
2352
|
"bytesInOutput": 5482
|
|
2353
2353
|
}
|
|
2354
2354
|
},
|
|
2355
|
-
"bytes":
|
|
2355
|
+
"bytes": 683365
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
2358
2358
|
}
|
package/dist-flow/types/ast.d.ts
CHANGED
|
@@ -576,8 +576,10 @@ export interface InsertStatement {
|
|
|
576
576
|
rejectLimit?: number | null;
|
|
577
577
|
checkGroups?: CheckGroup[];
|
|
578
578
|
}
|
|
579
|
-
/** 1
|
|
580
|
-
export type
|
|
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:
|
|
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:
|
|
731
|
+
values: LiteralInsertRow[];
|
|
730
732
|
}
|
|
731
733
|
/** v1.2 用の構文ノード。Phase 1 では scope validator が実行を拒否する。 */
|
|
732
734
|
export interface RemoveOperation {
|