Derive Macro UpdateParams

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

Derive macro for generating UPDATE parameter handling code.

§Attributes

  • update: The columns to update
  • where_clause: The WHERE clause containing parameter placeholders