risingwave_meta::controller::utils

Function check_connection_name_duplicate

source
pub async fn check_connection_name_duplicate<C>(
    pb_connection: &PbConnection,
    db: &C,
) -> MetaResult<()>
where C: ConnectionTrait,
Expand description

check_connection_name_duplicate checks whether the connection name is already used in the target namespace.