Function delete

Source
pub async fn delete<'a, E: Executor<'a, Database = Postgres>>(
    executor: E,
    company_id: i32,
    id: i32,
) -> Result<()>
Expand description

Delete task by id.

ยงErrors

Returns error if there was a problem while deleting task.