#[derive(Updateable)]
{
// Attributes available to this derive:
#[table]
#[where_clause]
#[update]
}
Expand description
Derive macro for generating UPDATE queries.
§Attributes
table
: The name of the table to updatewhere_clause
: The WHERE clause for the UPDATE statementupdate
: The columns to update