Crate mybatis_macro
source · [−]Attribute Macros
html sql create macro,this macro use RB.py_fetch and RB.py_exec for example:
Mybatis Plus,You can define functionality using the following properties
#[mybatis_plus]
#[mybatis_plus(table_name:“biz_activity”)]
#[mybatis_plus(table_name:“biz_activity” | table_columns:“id,name,version,delete_flag” | formats_pg:“id:{}::uuid,name:{}::string”)]
pub struct BizActivity {
pub id: Option
auto create sql macro,this macro use Mybatis.fetch_prepare and Mybatis.exec_prepare
for example:
pub static Mybatis:Lazy
support py_sql fn convert
py sql create macro,this macro use RB.py_fetch and RB.py_exec