Skip to main content

detach

Function detach 

Source
pub async fn detach(
    pool: &Pool,
    target: &Target,
    laboratory_id: &str,
) -> Result<bool, Error>
Expand description

Detach laboratory_id from target. Returns true if a row was deleted, false if there was nothing to delete. Caller holds the agent lock.