PHP Class RedUNIT\Base\Update

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
testEmptyStringShouldNotBeStoredAsInteger ( ) : void Tests whether empty strings are preserved as such.
testSQLFilters ( ) Test whether we can use SQL filters and whether they are being applied properly for different types of SELECT queries in the QueryWriter.
testStoringInf ( ) : void Test handling of infinity values.
testUnsetUpdate ( ) : void Test unsetting properties.
testUpdatingBeans ( ) : void All kinds of tests for basic CRUD.
testUpdatingParentBeansWithAliases ( ) Tests whether we can update or unset a parent bean with an alias without having to use fetchAs and without loading the aliased bean causing table-not-found errors.

Method Details

testEmptyStringShouldNotBeStoredAsInteger() public méthode

Tests whether empty strings are preserved as such.

testSQLFilters() public méthode

Test whether we can use SQL filters and whether they are being applied properly for different types of SELECT queries in the QueryWriter.
public testSQLFilters ( )

testStoringInf() public méthode

Test handling of infinity values.
public testStoringInf ( ) : void
Résultat void

testUnsetUpdate() public méthode

Test unsetting properties.
public testUnsetUpdate ( ) : void
Résultat void

testUpdatingBeans() public méthode

Does the data survive?
public testUpdatingBeans ( ) : void
Résultat void

testUpdatingParentBeansWithAliases() public méthode

Tests whether we can update or unset a parent bean with an alias without having to use fetchAs and without loading the aliased bean causing table-not-found errors.