Skip to main content

execute_checked_plan

Function execute_checked_plan 

Source
pub fn execute_checked_plan<S: Clone + Send + Sync + 'static>(
    context: &CompiledStatementContext<'_, S>,
    plan: UnifiedPlan,
    params: &[SQLParam],
    check: &dyn Fn(&AnalyzedResult) -> Result<(), SQLError>,
) -> Result<SQLResult, SQLError>
Expand description

Run a statement once check accepts what its analysis derives about its result.