Tất cả Tool›Chuyển đổi & phân tích SQL
Công cụ lập trình

Chuyển đổi & phân tích 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
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 0–1Output files 0

Đầu vào

Accepted input contract for this Tool.

Kindfile-or-data
File count0 – 1
Accepted MIME typestext/plain, application/sql

Tham số

Pass these values through request.options.

Parameter Type Bắt buộc Mặc định Giá trị / Phạm vi Mô tả
operation enum Optional analyze convert | analyze convert performs common rule-based dialect conversion; analyze performs static heuristic analysis without a database connection.
sourceDialect enum Optional — mysql | postgres | sqlserver Source SQL dialect. Required when operation=convert.
targetDialect enum Optional — mysql | postgres | sqlserver Target SQL dialect. Required when operation=convert.

Đầu ra

Result contract returned after successful processing.

Typedata
File count0 – 0
MIME typesKhông có
Metadatastatement, tables, joins, ctes, warnings, sourceDialect, targetDialect
ZIP archiveNo

Ví dụ cơ bản

Choose a supported integration mode and copy the generated starter code.

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.