pub trait SqlGenerator {
Show 13 methods
// Required methods
fn context(&self) -> &GeneratorContext;
fn output_header(&self);
fn output_tables(&self);
fn output_relations(&self);
fn output_indexes(&self);
fn output_triggers(&self);
fn output_functions(&self);
fn output_views(&self);
fn output_procedures(&self);
fn output_other_sql_top(&self);
fn output_other_sql_bottom(&self);
// Provided methods
fn generate(&self) { ... }
fn output_sql(&self) { ... }
}Required Methods§
fn context(&self) -> &GeneratorContext
fn output_header(&self)
fn output_tables(&self)
fn output_relations(&self)
fn output_indexes(&self)
fn output_triggers(&self)
fn output_functions(&self)
fn output_views(&self)
fn output_procedures(&self)
fn output_other_sql_top(&self)
fn output_other_sql_bottom(&self)
Provided Methods§
fn generate(&self)
fn output_sql(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".