Function create

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

Create ability.

ยงErrors

Returns error if there was a problem while creating ability.