Skip to main content

component_reference_counts

Function component_reference_counts 

Source
pub async fn component_reference_counts<'a>(
    pool: &Pool,
    slugs: &[&'a str],
) -> Result<HashMap<&'a str, usize>, ExecError>
Expand description

How many live page-type schemas reference each of slugs, from one scan of the schemas (what component_references would count, for every slug at once).

ยงErrors

Propagates query failures.