risingwave_meta::controller::utils

Function check_user_name_duplicate

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

check_user_name_duplicate checks whether the user is already existed in the cluster.