Expand description
SQLInsert trait and derive macro for sqlx.
Traits§
- Batch
Insert - SQLInsert
- Trait for inserting a struct into a SQL database.
Derive Macros§
- SQLInsert
- Derive macro for automatically implementing
SQLInserttrait for a struct. All struct fields that are supposed to be inserted into the database need to be:sqlx::types::Type+sqlx::encode::Encode+ Clone + Send + Sync. As of now, the proc macro supports only named struct fields.