PHP Class RedUNIT\Postgres\Foreignkeys

Tests creation and validity of foreign keys, foreign key constraints and indexes in PostgreSQL. Also tests whether the correct contraint action has been selected.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Postgres
Afficher le fichier Open project: gabordemooij/redbean

Méthodes publiques

Méthode Description
testAddingForeignKey ( ) : void Test adding foreign keys.
testAddingIndex ( ) : void Test whether we can manually create indexes.
testConstraint ( ) : void Test constraint function directly in Writer.
testForeignKeysWithPostgres ( ) Test foreign keys with postgres.

Method Details

testAddingForeignKey() public méthode

Test adding foreign keys.
public testAddingForeignKey ( ) : void
Résultat void

testAddingIndex() public méthode

Test whether we can manually create indexes.
public testAddingIndex ( ) : void
Résultat void

testConstraint() public méthode

Test constraint function directly in Writer.
public testConstraint ( ) : void
Résultat void

testForeignKeysWithPostgres() public méthode

Test foreign keys with postgres.