Skip to main content

update

Macro update 

Source
macro_rules! update {
    ($model:expr) => { ... };
}
Expand description

Create an UPDATE query for a model.

§Example

update!(hero)
    .execute(cx, &conn)
    .await?;