Attribute Macro rbatis_macro_driver::sql[][src]

#[sql]
Expand description

auto create sql macro,this macro use RB.fetch_prepare and RB.exec_prepare for example: #[sql(RB, “select * from biz_activity where id = ?”)] async fn select(name: &str) -> BizActivity {}