sql-orm 0.1.0

Public API crate for the sql-orm workspace.
Documentation
use sql_orm::prelude::*;

#[derive(Entity, Debug, Clone)]
#[orm(table = "users", schema = "dbo")]
struct User {
    #[orm(primary_key)]
    #[orm(identity)]
    id: i64,

    #[orm(length = 180)]
    email: String,
}

fn main() {
    let mut tracked = Tracked::from_loaded(User {
        id: 1,
        email: "ana@example.com".to_string(),
    });

    tracked.attach_registry(());
}