pub(super) async fn check_sources_exist(
client: &Client,
sources: &BTreeSet<ObjectId>,
) -> Result<BTreeSet<ObjectId>, ConnectionError>Expand description
Check which sources from the given set exist in the database.
Returns a BTreeSet of ObjectIds for sources that already exist.