Skip to main content

plan_drop_index

Function plan_drop_index 

Source
pub fn plan_drop_index(stmt: &Statement) -> Result<SqlPlan>
Expand description

Plan a DROP INDEX [IF EXISTS] name [ON collection] statement.

A missing or schema-qualified index name is a hard error — silently defaulting to an empty string would produce cryptic “index not found” failures downstream.