pub async fn update<R: Resource + ?Sized>( res: &R, ctx: &ReqCtx, id: &str, body: Value, ) -> ApiResponse
Authorize, filter to writable columns, update, and record the diff against the row it replaced.