Skip to main content

discard

Function discard 

Source
pub async fn discard(
    conn: &mut PgConnection,
    id: Uuid,
) -> ModelResult<AgentChangeset>
Expand description

Drops an open changeset’s staged changes. Errors with RecordNotFound if it is not open.