taitan-orm-parser 0.1.12

Next Generation ORM based on sqlx
Documentation
1
2
3
4
5
6
7
8
9
10
#[table(user)]
#[primary(a, b, c)]
struct Foo<'a, 'b> {
      name: &'a str,
      select: Cow<'b, str>,
      and: String,
      age: Option<Cow<'b, str>>,
      #[field(name = user_name, db_type = BIGINT, nullable = true, auto_inc = true)]
      primary: Option<Cow<'b, str>>
}