@rex0220/kintone-sql-tools 3.4.0 → 3.6.1
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 +5 -3
- package/dist-cli/ksql.js +2349 -93
- package/dist-mcp/ksql-mcp.js +2386 -137
- package/dist-mcpb/ksql-mcp.mcpb +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,11 +12,11 @@ kintone アプリを SQL 風の構文で操作するツールセットです。
|
|
|
12
12
|
- `INSERT` / `UPDATE` / `UPDATE ... FROM` / `UPSERT` / `DELETE` / `REORDER`(`--allow-dml` 必須)
|
|
13
13
|
- `EXPLAIN`
|
|
14
14
|
- **型付きcanonical `ORDER BY`とkintone固有順を選ぶ`KORDER BY`**(v3.0.0)
|
|
15
|
-
- **最大30桁のNUMBERをraw字句のまま比較する厳密10進primitive**(v3.3.0
|
|
16
|
-
- **バッチ実行(`;` 区切りの複文)と一時テーブル `CREATE TEMP TABLE #t AS SELECT
|
|
15
|
+
- **最大30桁のNUMBERをraw字句のまま比較する厳密10進primitive**(v3.3.0)
|
|
16
|
+
- **バッチ実行(`;` 区切りの複文)と一時テーブル `CREATE TEMP TABLE #t AS SELECT ...`**
|
|
17
17
|
- CLI / MCP: read-only バッチ + DML バッチ(一時テーブル経由の `INSERT ... SELECT` を含む)
|
|
18
18
|
- プラグイン: read-only バッチのみ(最終結果を表示)
|
|
19
|
-
- **`ASSERT`(実行時ゲート。DML 前の件数ガード / CLI
|
|
19
|
+
- **`ASSERT`(実行時ゲート。DML 前の件数ガード / CLI ヘルスチェック)**
|
|
20
20
|
- サブテーブル仮想テーブル(`APP100$明細`)
|
|
21
21
|
- CLI 拡張 `APP@profile`
|
|
22
22
|
- 同一 SQL 内で同一 APP の profile 混在を許可
|
|
@@ -159,6 +159,8 @@ Options:
|
|
|
159
159
|
--console Start interactive console mode
|
|
160
160
|
--dry-run Parse and show execution plan only
|
|
161
161
|
--var <name=value> Override a DECLARE variable (repeatable; not for secrets)
|
|
162
|
+
--import-csv <name=path> Supply named CSV and enable IMPORT (repeatable)
|
|
163
|
+
--import-json <name=path> Supply named JSON and enable IMPORT (repeatable)
|
|
162
164
|
--format <type> Output format: table | json | jsonl | csv | markdown | md
|
|
163
165
|
(batch + json: prints one JSON envelope for the whole batch)
|
|
164
166
|
--max-records <n> Max records to fetch (default: 500)
|