pub async fn used(pool: &Pool) -> Result<BTreeSet<i64>, ExecError>
Ids of every picture or file in use anywhere.
Database errors.