#[derive(DeriveMysql)]
{
// 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 a MySQL database. Uses mysql
. Requires --features mysql
.