Function mz_sql::plan::statement::ddl::plan_drop_item

source ยท
fn plan_drop_item(
    scx: &StatementContext<'_>,
    object_type: ObjectType,
    if_exists: bool,
    name: UnresolvedItemName,
    cascade: bool,
) -> Result<Option<CatalogItemId>, PlanError>
Expand description

Returns the CatalogItemId of the item we should drop, if it exists.