Skip to main content

update

Function update 

Source
pub async fn update<M: Model>(db: &Db, id: i64, model: &M) -> Result<()>