mz_sql::plan::statement::ddl

Function 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.