sntl 0.1.0

Compile-time guarded ORM for PostgreSQL — your data's guardian from compile to production
Documentation
1
2
3
4
5
6
7
8
9
10
use sntl::Model;

#[derive(Model)]
#[sentinel(table = "users")]
pub struct User {
    #[sentinel(primay_key)]
    pub id: i64,
}

fn main() {}