PHP Класс RedUNIT\Mysql\Foreignkeys

Tests creation and validity of foreign keys, foreign key constraints and indexes in Mysql/MariaDB. Also tests whether the correct contraint action has been selected.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Mysql
Показать файл Открыть проект

Открытые методы

Метод Описание
testAddingForeignKey ( ) : void Test adding foreign keys.
testAddingIndex ( ) : void Test whether we can manually create indexes.
testContrain ( ) : void Test adding of constraints directly by invoking the writer method.
testFKS ( ) : void Basic FK tests.
testKWConflicts ( ) : void Test whether we can use foreign keys with keywords.
testWideningColumnForConstraint ( ) : void Test widen for constraint.

Описание методов

testAddingForeignKey() публичный Метод

Test adding foreign keys.
public testAddingForeignKey ( ) : void
Результат void

testAddingIndex() публичный Метод

Test whether we can manually create indexes.
public testAddingIndex ( ) : void
Результат void

testContrain() публичный Метод

Test adding of constraints directly by invoking the writer method.
public testContrain ( ) : void
Результат void

testFKS() публичный Метод

Basic FK tests.
public testFKS ( ) : void
Результат void

testKWConflicts() публичный Метод

Test whether we can use foreign keys with keywords.
public testKWConflicts ( ) : void
Результат void

testWideningColumnForConstraint() публичный Метод

Test widen for constraint.
public testWideningColumnForConstraint ( ) : void
Результат void