PHP 클래스 RedUNIT\Base\With

With/WithCondition can be used to fetch bean lists with additional requirements, filters or ordering specification using SQL snippets. This suite tests the handling of with() and withCondition() snippets. Additionally this test suite also tests noLoad() and all() modifiers.
저자: Gabor de Mooij and the RedBeanPHP Community
상속: extends RedUNIT\Base
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
getTargetDrivers ( ) : array This test suite uses specific SQL, only suited for MySQL.
testAll ( ) : void Test all().
testClearanceOfModFlags ( ) : void Tests whether modifiers are cleared after reading or writing a bean property.
testEmbeddedSQL ( ) : void Test embedded SQL snippets using with and withCondition.
testEmbeddedSQLPart2 ( ) : void More variations.
testNoLoad ( ) : void Tests no-load modifier for lists.
testWhenToReload ( ) : void Test when to reload and when to NOT reload beans.

메소드 상세

getTargetDrivers() 공개 메소드

This test suite uses specific SQL, only suited for MySQL.
public getTargetDrivers ( ) : array
리턴 array

testAll() 공개 메소드

Test all().
public testAll ( ) : void
리턴 void

testClearanceOfModFlags() 공개 메소드

Tests whether modifiers are cleared after reading or writing a bean property.
public testClearanceOfModFlags ( ) : void
리턴 void

testEmbeddedSQL() 공개 메소드

Test embedded SQL snippets using with and withCondition.
public testEmbeddedSQL ( ) : void
리턴 void

testEmbeddedSQLPart2() 공개 메소드

..
public testEmbeddedSQLPart2 ( ) : void
리턴 void

testNoLoad() 공개 메소드

Tests no-load modifier for lists.
public testNoLoad ( ) : void
리턴 void

testWhenToReload() 공개 메소드

Use UNSET to reload a parent bean. Use UNSET or a modifier (with, withCondition, all) to reload a list. Use noLoad() to obtain an empty list - does not reload but sets an empty array.
public testWhenToReload ( ) : void
리턴 void