easy-sqlx-utils 0.1.0

easy to use sqlx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// export_macro!
// 定义宏
#[macro_export]
macro_rules! ternary {
    ($condition:expr, $if_true:expr, $if_false:expr) => {
        if $condition {
            $if_true
        } else {
            $if_false
        }
    };
}