Trait rbatis::plugin::intercept::SqlIntercept[][src]

pub trait SqlIntercept: Send + Sync + Debug {
    fn do_intercept(
        &self,
        rb: &Rbatis,
        sql: &mut String,
        args: &mut Vec<Bson>,
        is_prepared_sql: bool
    ) -> Result<(), Error>; fn name(&self) -> &str { ... } }
Expand description

sql intercept

Required methods

do intercept sql/args is_prepared_sql: if is run in prepared_sql=ture

Provided methods

the name

Implementors