Parse SQL and annotate the AST with inferred type information.
Format SQL with explicit guard limits.
Generate SQL from an AST.
Get supported dialects in this build.
Per-dialect builds return only "generic" and the selected dialect.
Get library version.
Tokenize SQL into a token stream.
Transpile SQL from one dialect to another.
Per-dialect builds only support same-dialect and to/from Generic transpilation. Use Polyglot.getDialects to check available dialects.
StaticgetGet or create the Polyglot instance. The WASM module is automatically initialized on import.
Main Polyglot class for object-oriented usage.