Skip to main content

based_on_item

Function based_on_item 

Source
pub async fn based_on_item(
    pool: &PgPool,
    actor: &Actor,
    item_id: Uuid,
) -> AppResult<(Vec<BasedSimulation>, i64)>
Expand description

Simulations whose latest revision is based on a revision of the item. Only simulations the actor may see; the second value counts the others.