すべての Tool›SQL方言変換・解析
開発者ツール

SQL方言変換・解析

sql-dialect-converter-analyzer

Use SQL Dialect Converter & Analyzer through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDsql-dialect-converter-analyzer
バージョン1
実行方式CLIENT
対応モードHeadless, Embedded

クイック操作

入力ファイル 0–1出力ファイル 0

入力

この Tool が受け付ける入力形式とファイル数です。

入力種類file-or-data
ファイル数0 – 1
対応 MIMEtext/plain, application/sql

パラメータ

これらの値は request.options で渡します。

パラメータ 型 必須 既定値 許可値 / 範囲 説明
operation enum 任意 analyze convert | analyze convert performs common rule-based dialect conversion; analyze performs static heuristic analysis without a database connection.
sourceDialect enum 任意 — mysql | postgres | sqlserver Source SQL dialect. Required when operation=convert.
targetDialect enum 任意 — mysql | postgres | sqlserver Target SQL dialect. Required when operation=convert.

出力

処理完了後に返される結果形式です。

型data
ファイル数0 – 0
出力 MIMEなし
Metadatastatement, tables, joins, ctes, warnings, sourceDialect, targetDialect
ZIP アーカイブ非対応

基本例

対応する統合モードを確認し、生成された開始コードをコピーできます。

Headless

const result = await client.run("sql-dialect-converter-analyzer", {
  
  options: { operation: "analyze" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "sql-dialect-converter-analyzer", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.