[][src]Trait rbatis::crud::ColumnFormat

pub trait ColumnFormat: Send + Sync {
    fn format(
        &self,
        driver_type: &DriverType,
        column: &str,
        value_sql: &mut String
    ) -> Result<()>; }

cast sql cloumn and return new sql

Required methods

fn format(
    &self,
    driver_type: &DriverType,
    column: &str,
    value_sql: &mut String
) -> Result<()>

column: table column value_sql: set column = value_sql

Loading content...

Implementors

impl ColumnFormat for DateFormat[src]

Loading content...