che-orm 0.3.2

Typed SQLite and PostgreSQL ORM for che-rest applications
Documentation
1
2
3
4
5
6
7
8
9
10
use che_orm::{Model, Uuid};

#[derive(Debug, Model)]
#[orm(table = "tasks", sync, sync_version = 0)]
struct Task {
    #[orm(primary_key)]
    id: Uuid,
}

fn main() {}