This module contains some macros and attributes built into mybatis, The source code of all macros is in this module.
rust
mybatis-macro = "2.0.1"
This macro is mainly used to automatically map the conditional packaging of some built-in operation tables. You can realize the basic operations of querying, deleting, adding and modifying data tables without spelling SQL statements
```rust
pub struct Book {
pub id: Option
The function of this macro is the same as that of MybatisPlus macro, except that this macro is used for attribute.
```rust
pub struct Book {
pub id: Option
pub struct Book {
pub id: Option
This macro is mainly used to automatically create SQL statements for you. You can write SQL statements in the macro corresponding to a method implementation.
```rust
async fn select(mybatis:&Mybatis, id: &str) -> Book {} ```
This macro is mainly used to process pysql, and its function is similar to that of mybatis_sql macro
```rust
async fn py_select(name: &str) -> Book {} ```
This macro is mainly used to parse the SQL syntax structure in HTML. The bottom layer is to parse the HTML file in the specified directory through HTML parse
```rust
async fn htmlparsemybatis(mybatis: &Mybatis, name: &str) -> Book {} ```