mini\Parsing\SQL\AST\TableConstraint class

Documentation

Table-level constraint in CREATE TABLE

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

Implements: JsonSerializable

Properties (9)

public string $type
public ?string $name
public string $constraintType
public array $columns
public ?string $references
public array $referencesColumns
public ?string $onDelete
public ?string $onUpdate
public ?mini\Parsing\SQL\AST\ASTNode $checkExpression

Methods (2)

Documentation missing

Create a deep clone of this AST node

Source

src/Parsing/SQL/AST/TableConstraint.php:8-21