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
Show file Open project: gabordemooij/redbean

Public Methods

Method 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

Method 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 method

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

testJoins() public method

Test Joins.
public testJoins ( ) : void
return void

testJoinsInCount() public method

Tests joins with ownCount().
public testJoinsInCount ( )

testSystemWideSettingsForJoins() public method

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