Skip to main content

check_connections_exist

Function check_connections_exist 

Source
pub(super) async fn check_connections_exist(
    client: &Client,
    connections: &BTreeSet<ObjectId>,
) -> Result<BTreeSet<ObjectId>, ConnectionError>
Expand description

Check which connections from the given set exist in the database.

Returns a BTreeSet of ObjectIds for connections that already exist.