risingwave_meta::controller::utils

Function check_database_name_duplicate

source
pub async fn check_database_name_duplicate<C>(
    name: &str,
    db: &C,
) -> MetaResult<()>
where C: ConnectionTrait,
Expand description

check_database_name_duplicate checks whether the database name is already used in the cluster.