Get list of supported dialects in this build.
The published npm package includes all supported dialects. Custom WASM builds created from source can expose a subset selected through Cargo features.
Use this function to check dialect availability before calling transpile.
Array of dialect name strings available in this build
const dialects = getDialects();// ["generic", "postgresql", "mysql", "bigquery", ...]if (dialects.includes("postgresql")) { // Safe to transpile to PostgreSQL} Copy
const dialects = getDialects();// ["generic", "postgresql", "mysql", "bigquery", ...]if (dialects.includes("postgresql")) { // Safe to transpile to PostgreSQL}
Get list of supported dialects in this build.
The published npm package includes all supported dialects. Custom WASM builds created from source can expose a subset selected through Cargo features.
Use this function to check dialect availability before calling transpile.