sqlx-dsl-dao 0.0.1

Build-time DAO code generator for sqlx (SQLite): generates CRUD from table schema plus dynamic-SQL functions from a MyBatis-like DSL.
1
2
3
4
5
6
7
8
9
/// IF条件
#[derive(Debug, serde::Serialize, Default, Clone)]
pub struct DslEach {
    pub name: String,    //循环的变量名
    pub seq: String,     //分隔符
    pub open: String,    //开口字符
    pub close: String,   //闭口字符
    pub item: String,    //内部变量名
}