risingwave_meta::controller::utils

Function ensure_schema_empty

source
pub async fn ensure_schema_empty<C>(
    schema_id: SchemaId,
    db: &C,
) -> MetaResult<()>
where C: ConnectionTrait,
Expand description

ensure_schema_empty ensures that the schema is empty, used by DROP SCHEMA.