Skip to main content

update

Function update 

Source
pub async fn update<R: Resource + ?Sized>(
    res: &R,
    ctx: &ReqCtx,
    id: &str,
    body: Value,
) -> ApiResponse
Expand description

Authorize, filter to writable columns, update, and record the diff against the row it replaced.