Function delete

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

Delete agent.

ยงErrors

Returns error if there was a problem while accessing database.