pub trait DialectExtension: Send + Sync {
// Required methods
fn dialect_name(&self) -> &str;
fn translate(&self, sql: &str) -> Result<String, PluginError>;
}Expand description
方言扩展点
Required Methods§
Sourcefn dialect_name(&self) -> &str
fn dialect_name(&self) -> &str
方言名称
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".