pub struct DefaultSqlGenerator { /* private fields */ }Implementations§
Source§impl DefaultSqlGenerator
impl DefaultSqlGenerator
pub fn new( context: GeneratorContext, table_generator: Box<dyn TableGenerator>, relation_generator: Box<dyn RelationGenerator>, index_generator: Box<dyn IndexGenerator>, function_generator: Box<dyn FunctionGenerator>, view_generator: Box<dyn ViewGenerator>, procedure_generator: Box<dyn ProcedureGenerator>, trigger_generator: Box<dyn TriggerGenerator>, other_sql_generator: Box<dyn OtherSqlGenerator>, ) -> Self
Trait Implementations§
Source§impl SqlGenerator for DefaultSqlGenerator
impl SqlGenerator for DefaultSqlGenerator
fn context(&self) -> &GeneratorContext
fn generate(&self)
fn output_sql(&self)
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)
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultSqlGenerator
impl !Send for DefaultSqlGenerator
impl !Sync for DefaultSqlGenerator
impl !UnwindSafe for DefaultSqlGenerator
impl Freeze for DefaultSqlGenerator
impl Unpin for DefaultSqlGenerator
impl UnsafeUnpin for DefaultSqlGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more