Skip to main content

discard_some

Function discard_some 

Source
async fn discard_some(
    conn: &mut PgConnection,
    ctx: &RequestContext,
    course: Course,
    changeset: &AgentChangeset,
    entity_ids: &[IdArgument],
    revision: Option<i32>,
) -> Result<ToolOutcome, ToolError>
Expand description

Drops only the listed entities, refusing if the rest would no longer publish.