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

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

sql intercept

Required methods

pub fn do_intercept(
    &self,
    rb: &Rbatis,
    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

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

the name

Loading content...

Implementors

Loading content...