Crate rbatis_macro_driver[][src]

Attribute Macros

crud_enable
py_sql

py sql create macro,this macro use RB.py_fetch and RB.py_exec for example:

sql

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 {}

Derive Macros

CRUDTable