Skip to main content

Module plugin

Module plugin 

Source

Structs§

DialectRegistry
Thread-safe registry for custom dialect plugins.

Enums§

DialectRef
A reference to either a built-in Dialect or a custom dialect registered via the plugin system.

Traits§

DialectPlugin
Trait that external code can implement to define a custom SQL dialect.

Functions§

register_dialect
Register a custom dialect plugin in the global registry.
resolve_dialect
Look up a dialect by name, returning either a built-in or custom DialectRef.
transform
Transform a statement from one dialect to another, supporting custom dialect plugins.
transpile_ext
Transpile a SQL string using DialectRef, supporting custom plugins.
transpile_statements_ext
Transpile multiple statements using DialectRef, supporting custom plugins.