easy-sql-macros 1.1.2

Easy SQL support library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use easy_sql_macros::Insert;

struct DummyTable {
    id: i32,
}

#[derive(Insert)]
#[sql(table = DummyTable)]
#[sql(drivres = Driver)]
struct BadInsertStructAttr {
    id: i32,
}

fn main() {}