pub async fn usage_summary(
pool: &Pool,
to_kind: &str,
to_id: i64,
) -> Vec<Referrer>Expand description
Aggregated, title-resolved inbound usage for any target
(to_kind, to_id) — reused across pages / snippets / media /
documents. Page + snippet referrers get their real title
resolved in one batched query each; other kinds keep the kind#id
fallback.