Function get_child_for_execution

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

Gets child task for execution.

ยงErrors

Returns error if there was a problem while accessing database.