sql-orm 0.1.0

Public API crate for the sql-orm workspace.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use sql_orm::prelude::*;

#[derive(Entity, Debug, Clone)]
struct Customer {
    id: i64,
    email: String,
}

#[derive(Changeset, Debug, Clone)]
#[orm(entity = Customer)]
struct UpdateCustomer {
    email: String,
}

fn main() {}