Skip to main content

update

Function update 

Source
pub async fn update(
    kind: &str,
    id: &str,
    fields: &Fields,
    session: &Session,
) -> ExitCode
Expand description

Change the fields of one.

Two requests, like place: the entity is read first for its version, so a change somebody else made in between is refused rather than overwritten.