@rex0220/kintone-sql-tools 1.9.0 → 1.11.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 -0
- package/dist-cli/ksql.js +586 -48
- package/dist-mcp/ksql-mcp.js +488 -72
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ kintone アプリを SQL 風の構文で操作するツールセットです。
|
|
|
14
14
|
- **バッチ実行(`;` 区切りの複文)と一時テーブル `CREATE TEMP TABLE #t AS SELECT ...`**(v1.4.0)
|
|
15
15
|
- CLI / MCP: read-only バッチ + DML バッチ(一時テーブル経由の `INSERT ... SELECT` を含む)
|
|
16
16
|
- プラグイン: read-only バッチのみ(最終結果を表示)
|
|
17
|
+
- **`ASSERT`(実行時ゲート。DML 前の件数ガード / CLI ヘルスチェック)**(v1.10.0)
|
|
17
18
|
- サブテーブル仮想テーブル(`APP100$明細`)
|
|
18
19
|
- CLI 拡張 `APP@profile`
|
|
19
20
|
- 同一 SQL 内で同一 APP の profile 混在を許可
|
|
@@ -120,10 +121,17 @@ Options:
|
|
|
120
121
|
--console Start interactive console mode
|
|
121
122
|
--dry-run Parse and show execution plan only
|
|
122
123
|
--format <type> Output format: table | json | jsonl | csv | markdown | md
|
|
124
|
+
(batch + json: prints one JSON envelope for the whole batch)
|
|
123
125
|
--max-records <n> Max records to fetch (default: 500)
|
|
124
126
|
--fetch-parallel <n> Parallel page fetches per query: 1-10 (default: 3)
|
|
125
127
|
--on-limit <mode> On record limit: error | truncate
|
|
128
|
+
--temp-table-max-rows <n> Max rows per temp table (default: 10000, always errors on overflow)
|
|
126
129
|
--timeout <ms> Request timeout in milliseconds (default: 30000)
|
|
130
|
+
--max-concurrent <n> Max concurrent kintone requests: 1-50 (default: 10)
|
|
131
|
+
(process-wide; fixed at first resolution; KSQL_MAX_CONCURRENT wins)
|
|
132
|
+
--retry <n> GET retry count: 0-10, 0 disables (default: 3; KSQL_RETRY wins)
|
|
133
|
+
--retry-base-delay <ms> GET retry backoff base delay (default: 500)
|
|
134
|
+
--retry-max-delay <ms> GET retry backoff max delay (default: 8000)
|
|
127
135
|
--config <path> Config file path (default: ./ksql.config.json)
|
|
128
136
|
--profile <name> Profile name in config
|
|
129
137
|
--base-url <url> kintone base URL
|