Trait rbatis::plugin::page::PagePlugin[][src]

pub trait PagePlugin: Send + Sync + Debug {
    fn make_page_sql(
        &self,
        driver_type: &DriverType,
        sql: &str,
        args: &Vec<Bson>,
        page: &dyn IPageRequest
    ) -> Result<(String, String), Error>; fn name(&self) -> &str { ... } }
Expand description

default page plugin

Required methods

return 2 sql for select , (count_sql,select_sql)

Provided methods

the name

Implementors