PHP 클래스 Doctrine\MongoDB\Tests\Query\BuilderTest

상속: extends Doctrine\MongoDB\Tests\BaseTest
파일 보기 프로젝트 열기: doctrine/mongodb

공개 메소드들

메소드 설명
provideCurrentDateOptions ( )
provideExcludeProjections ( )
providePoint ( )
provideProxiedExprMethods ( )
provideSelectProjections ( )
provideSortOrders ( )
testAddElemMatch ( )
testAddNot ( )
testBitAndUpdateQuery ( )
testBitOrUpdateQuery ( )
testBitXorUpdateQuery ( )
testComplexUpdateQuery ( )
testCurrentDateInvalidType ( )
testCurrentDateUpdateQuery ( $type )
testDateRange ( )
testDeepClone ( )
testDistanceMultipler ( )
testDistanceMultiplerRequiresGeoNearCommand ( )
testExclude ( array $args, array $expected )
testFinalizeShouldThrowExceptionForUnsupportedQueryType ( )
testFindQuery ( )
testGeoNearWithBothArguments ( )
testGeoNearWithSingleArgument ( $point, array $near, $spherical )
testIncUpdateQuery ( )
testMapReduceOptionsRequiresMapReduceCommand ( )
testMapReduceQueryWithMultipleMethodsAndQueryArray ( )
testMapReduceQueryWithSingleMethod ( )
testMaxDistanceWithGeoNearCommand ( )
testMinDistanceWithGeoNearCommand ( )
testMultipleUpdateQuery ( )
testOutRequiresMapReduceCommand ( )
testProxiedExprMethods ( $method, array $args = [] )
testQueryIsIterable ( )
testReduceShouldThrowExceptionForUnsupportedQueryType ( )
testSelect ( array $args, array $expected )
testSelectElemMatchWithArray ( )
testSelectElemMatchWithExpr ( )
testSelectMeta ( )
testSelectSliceWithCount ( )
testSelectSliceWithSkipAndLimit ( )
testSetOnInsert ( )
testSetReadPreference ( )
testSortMetaDoesNotProjectExistingField ( )
testSortMetaDoesProjectMissingField ( )
testSortWithArrayOfFieldNameAndOrderPairs ( )
testSortWithFieldNameAndDefaultOrder ( )
testSortWithFieldNameAndOrder ( $order, $expectedOrder )
testSpherical ( )
testSphericalRequiresGeoNearCommand ( )
testThatAndAcceptsAnotherQuery ( )
testThatNorAcceptsAnotherQuery ( )
testThatOrAcceptsAnotherQuery ( )
testUnsetField ( )
testUpsertUpdateQuery ( )

비공개 메소드들

메소드 설명
assertArrayHasKeyValue ( $expected, $array, $message = '' )
getMockCollection ( )
getMockExpr ( )
getMockGeometry ( )
getMockPoint ( $json )
getStubQueryBuilder ( )
getTestQueryBuilder ( )
provideProjections ( boolean $include ) : array Provide arguments for select() and exclude() tests.

메소드 상세

provideCurrentDateOptions() 공개 정적인 메소드

public static provideCurrentDateOptions ( )

provideExcludeProjections() 공개 메소드

providePoint() 공개 메소드

public providePoint ( )

provideProxiedExprMethods() 공개 메소드

provideSelectProjections() 공개 메소드

provideSortOrders() 공개 메소드

public provideSortOrders ( )

testAddElemMatch() 공개 메소드

public testAddElemMatch ( )

testAddNot() 공개 메소드

public testAddNot ( )

testBitAndUpdateQuery() 공개 메소드

testBitOrUpdateQuery() 공개 메소드

testBitXorUpdateQuery() 공개 메소드

testComplexUpdateQuery() 공개 메소드

testCurrentDateInvalidType() 공개 메소드

testCurrentDateUpdateQuery() 공개 메소드

public testCurrentDateUpdateQuery ( $type )

testDateRange() 공개 메소드

public testDateRange ( )

testDeepClone() 공개 메소드

public testDeepClone ( )

testDistanceMultipler() 공개 메소드

testDistanceMultiplerRequiresGeoNearCommand() 공개 메소드

testExclude() 공개 메소드

public testExclude ( array $args, array $expected )
$args array
$expected array

testFinalizeShouldThrowExceptionForUnsupportedQueryType() 공개 메소드

testFindQuery() 공개 메소드

public testFindQuery ( )

testGeoNearWithBothArguments() 공개 메소드

testGeoNearWithSingleArgument() 공개 메소드

public testGeoNearWithSingleArgument ( $point, array $near, $spherical )
$near array

testIncUpdateQuery() 공개 메소드

public testIncUpdateQuery ( )

testMapReduceOptionsRequiresMapReduceCommand() 공개 메소드

testMapReduceQueryWithMultipleMethodsAndQueryArray() 공개 메소드

testMapReduceQueryWithSingleMethod() 공개 메소드

testMaxDistanceWithGeoNearCommand() 공개 메소드

testMinDistanceWithGeoNearCommand() 공개 메소드

testMultipleUpdateQuery() 공개 메소드

testOutRequiresMapReduceCommand() 공개 메소드

testProxiedExprMethods() 공개 메소드

public testProxiedExprMethods ( $method, array $args = [] )
$args array

testQueryIsIterable() 공개 메소드

public testQueryIsIterable ( )

testReduceShouldThrowExceptionForUnsupportedQueryType() 공개 메소드

testSelect() 공개 메소드

public testSelect ( array $args, array $expected )
$args array
$expected array

testSelectElemMatchWithArray() 공개 메소드

testSelectElemMatchWithExpr() 공개 메소드

testSelectMeta() 공개 메소드

public testSelectMeta ( )

testSelectSliceWithCount() 공개 메소드

testSelectSliceWithSkipAndLimit() 공개 메소드

testSetOnInsert() 공개 메소드

public testSetOnInsert ( )

testSetReadPreference() 공개 메소드

testSortMetaDoesNotProjectExistingField() 공개 메소드

testSortMetaDoesProjectMissingField() 공개 메소드

testSortWithArrayOfFieldNameAndOrderPairs() 공개 메소드

testSortWithFieldNameAndDefaultOrder() 공개 메소드

testSortWithFieldNameAndOrder() 공개 메소드

public testSortWithFieldNameAndOrder ( $order, $expectedOrder )

testSpherical() 공개 메소드

public testSpherical ( )

testSphericalRequiresGeoNearCommand() 공개 메소드

testThatAndAcceptsAnotherQuery() 공개 메소드

testThatNorAcceptsAnotherQuery() 공개 메소드

testThatOrAcceptsAnotherQuery() 공개 메소드

testUnsetField() 공개 메소드

public testUnsetField ( )

testUpsertUpdateQuery() 공개 메소드