Skip to main content

apply

Function apply 

Source
pub async fn apply(
    plan_dir: &Path,
    client: &mut Client,
    filter: &CatalogFilter,
    overrides: ApplyOverrides,
) -> Result<ApplyOutcome, ApplyError>
Expand description

Apply a plan directory to a live Postgres connection.

Reads the plan from disk and delegates to apply_plan. Use apply_plan directly when you already have a Plan value (test harnesses, library callers that built the plan via crate::api::build_plan).

See apply_plan for the full step-by-step description.