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§
Sourcefn conditional_stmt(&self, f: &mut Formatter<'_>, table_field: &str) -> Result
fn conditional_stmt(&self, f: &mut Formatter<'_>, table_field: &str) -> Result
Return a sql conditional statement by the provided table_field