Function create

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

Get agent.

ยงErrors

Returns error if there was a problem while accessing database.