Skip to main content

optimize

Function optimize 

Source
pub fn optimize(plan: &mut Plan) -> Result<()>
Expand description

Rewrites a bound plan into the plan that runs, with every pass on.

ยงErrors

If a pass left the plan malformed or narrowed what it returns, which is a bug in the pass and not in the query.