ConditionalStmt

Trait ConditionalStmt 

Source
pub(crate) trait ConditionalStmt {
    // Required method
    fn conditional_stmt(
        &self,
        f: &mut Formatter<'_>,
        table_field: &str,
    ) -> Result;
}
Expand description

SQL conditional statement trait

Required Methods§

Source

fn conditional_stmt(&self, f: &mut Formatter<'_>, table_field: &str) -> Result

Return a sql conditional statement by the provided table_field

Implementations on Foreign Types§

Source§

impl<T: ConditionalStmt> ConditionalStmt for Option<T>

Source§

fn conditional_stmt(&self, f: &mut Formatter<'_>, table_field: &str) -> Result

Implementors§