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.
pub async fn check_database_name_duplicate<C>(
name: &str,
db: &C,
) -> MetaResult<()>where
C: ConnectionTrait,
check_database_name_duplicate
checks whether the database name is already used in the cluster.