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

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

sql intercept

Required methods

fn do_intercept(
    &self,
    rb: &Rbatis,
    context_id: &str,
    sql: &mut String,
    args: &mut Vec<Value>,
    is_prepared_sql: bool
) -> Result<(), Error>
[src]

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

Loading content...

Provided methods

fn name(&self) -> &str[src]

the name

Loading content...

Implementors

Loading content...