Attribute Macro scyllax_macros::write_query

source ·
#[write_query]
Expand description

Apply this attribute to a struct to generate a write query.

#[write_query(
   query = "delete from person where id = ?",
)]
pub struct DeletePersonById {
   pub id: Uuid,
}