Skip to main content

SqlModel

Derive Macro SqlModel 

Source
#[derive(SqlModel)]
{
    // Attributes available to this derive:
    #[sql]
    #[model]
}
Expand description

Derive SQL schema metadata, SQLx row decoding and validated CRUD operations.