Skip to main content

Module planner

Module planner 

Source
Expand description

Delete planning: compute the set of rows affected by a delete, including cascade, set-null, and restrict foreign-key actions.

Structs§

DeletePlan
Result of planning a delete against a schema.
RestrictedConstraint
A foreign-key constraint that blocks the delete.
RowRef
A row identified for deletion planning.
SetNullUpdate
A child row that must be updated to set its foreign-key columns to null.

Enums§

PlannerError
Errors returned by delete planning.

Functions§

plan_delete
Plan the deletion of a single row identified by its table and primary key.