Derive Macro derive_sql::DeriveSqlite

source ·
#[derive(DeriveSqlite)]
{
    // Attributes available to this derive:
    #[derive_sqlite]
}
Expand description

Derive macro to implement the Sqlable trait for a struct with named fields so that instances of the struct can be saved, queried, stored to/from an SQLite database. Uses rusqlite. Requires --features sqlite.