Return compact query analysis facts for a SELECT or set operation.
Return compact query analysis facts for a SELECT or set operation.
Optionaloptions: AnalyzeQueryOptionsParse SQL and annotate the AST with inferred type information.
Format SQL with explicit guard limits.
Generate SQL from an AST.
Generate SQL from a standalone DataType AST node.
Get supported dialects in this build.
Get library version.
Parse a standalone SQL data type.
Tokenize SQL into a token stream.
Transpile SQL from one dialect to another.
Optionaloptions: TranspileOptionsUse Polyglot.getDialects to inspect available dialects.
StaticgetGet or create the Polyglot instance. The WASM module is automatically initialized on import.
Main Polyglot class for object-oriented usage.