Function get_root_for_execution

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

Gets root task for execution.

ยงErrors

Returns error if there was a problem while accessing database.