Skip to main content

delete_component

Function delete_component 

Source
pub async fn delete_component(pool: &Pool, id: i64) -> Result<(), ExecError>
Expand description

Delete a component by id (no-op if it’s already gone).

§Errors

Propagates the delete failure.