ForeignKeyConstraint/ReferentialAction.php

dbal · src/Schema/ForeignKeyConstraint/ReferentialAction.php · php · MIT
database

Enum representing SQL referential actions for foreign key constraints.

// Source: https://github.com/doctrine/dbal | License: MIT | Copyright 2006-2018 Doctrine Project
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Schema\ForeignKeyConstraint;

/**
 * Represents the foreign key constraint's referential action.
 *
 * @link https://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt SQL-92, Subclause 11.8, "<referential action>"
 * @link https://dev.mysql.com/doc/refman/8.4/en/constraint-foreign-key.html
 * @link https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-PARMS-REFERENCES
 * @link https://learn.microsoft.com/en-us/sql/relational-databases/tables/primary-and-foreign-key-constraints#cascading-referential-integrity
 * @link https://docs.oracle.com/en/databa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key