Skip to content

Case

SQLForeignKeyAction.restrict

The RESTRICT behavior.
case restrict

Discussion

RESTRICT triggers an SQL error indicating that the operation in progress has violated a foreign key constraint. The error is raised immediately, regardless of the deferred status of the constraint.