Attribute Macro mybatis_html

Source
#[mybatis_html]
Expand description

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

pub static RB:Lazy = Lazy::new(||Mybatis::new()); #[mybatis_html(RB,“example/example.html”)] pub async fn py_select_mybatis(name: &str) -> Option {}

or:

#[mybatis_html(“example/example.html”)] pub async fn py_select_mybatis(mybatis: &Mybatis, name: &str) -> Option {}