[−][src]Trait rbatis::plugin::page::PagePlugin
default page plugin
Required methods
fn create_page_sql(
&self,
driver_type: &DriverType,
tx_id: &str,
sql: &str,
args: &Vec<Value>,
page: &dyn IPageRequest
) -> Result<(String, String), Error>
&self,
driver_type: &DriverType,
tx_id: &str,
sql: &str,
args: &Vec<Value>,
page: &dyn IPageRequest
) -> Result<(String, String), Error>
return 2 sql for select , (count_sql,select_sql)
Implementors
impl PagePlugin for RbatisPagePlugin
[src]
fn create_page_sql(
&self,
driver_type: &DriverType,
tx_id: &str,
sql: &str,
args: &Vec<Value>,
page: &dyn IPageRequest
) -> Result<(String, String), Error>
[src]
&self,
driver_type: &DriverType,
tx_id: &str,
sql: &str,
args: &Vec<Value>,
page: &dyn IPageRequest
) -> Result<(String, String), Error>