Function insert

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

Insert settings for a company.

ยงErrors

Returns error if there was a problem while inserting settings.