Skip to main content

conflict_with_live

Function conflict_with_live 

Source
async fn conflict_with_live(
    conn: &mut PgConnection,
    key: EntityKey,
    base: Option<&EntitySnapshot>,
    live: Option<&EntitySnapshot>,
) -> ModelResult<Option<PublishConflict>>
Expand description

The conflict of a staged entity whose live state, live, no longer matches base, the state it was staged on; None if it still matches.