Derive Macro Deletable

Source
#[derive(Deletable)]
{
    // Attributes available to this derive:
    #[table]
    #[where_clause]
}
Expand description

Derive macro for generating DELETE queries.

§Attributes

  • table: The name of the table to delete from
  • where_clause: The WHERE clause for the DELETE statement