PHP Class RedUNIT\Base\Joins

Tests the @joined keyword, this keyword in an SQL snippet allows you to join another table and use one or more of its columns in the query snippet, for instance for sorting or filtering.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Afficher le fichier Open project: gabordemooij/redbean

Méthodes publiques

Méthode Description
testComplexInFrozenMode ( ) : void Tests the more complicated scenarios for with-joins.
testJoins ( ) : void Test Joins.
testJoinsInCount ( ) Tests joins with ownCount().
testSystemWideSettingsForJoins ( ) Tests R::setNarrowFieldMode() and OODBBean::ignoreJoinFeature().

Private Methods

Méthode Description
checkBookNumbers ( array $books, string $numberList ) : void Helper for the next test.
testComplexCombinationsJoins ( ) : void Tests the more complicated scenarios for with-joins.

Method Details

testComplexInFrozenMode() public méthode

Tests the more complicated scenarios for with-joins.
public testComplexInFrozenMode ( ) : void
Résultat void

testJoins() public méthode

Test Joins.
public testJoins ( ) : void
Résultat void

testJoinsInCount() public méthode

Tests joins with ownCount().
public testJoinsInCount ( )

testSystemWideSettingsForJoins() public méthode

Tests R::setNarrowFieldMode() and OODBBean::ignoreJoinFeature().