Skip to main content

PlatformDialect

Trait PlatformDialect 

Source
pub trait PlatformDialect:
    SqlRenderer
    + ExpressionRenderer
    + DdlRenderer
    + DmlRenderer
    + ProcedureRenderer
    + FormulaRenderer
    + TaskRenderer
    + DialectCapabilities
    + ReplicationRenderer
    + StorageRenderer {
    // Required method
    fn info(&self) -> DialectInfo;
}
Expand description

Full plugin trait for database platform dialects.

Extends the rendering trait hierarchy (SqlRenderer, ExpressionRenderer, DdlRenderer, DmlRenderer, ProcedureRenderer, FormulaRenderer, TaskRenderer, ReplicationRenderer, StorageRenderer, DialectCapabilities) with plugin-specific metadata and registration support.

Dialect authors implement the rendering traits plus PlatformDialect::info().

Required Methods§

Source

fn info(&self) -> DialectInfo

Returns metadata about this dialect.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§