PHP Класс Doctrine\MongoDB\Tests\Query\BuilderTest

Наследование: extends Doctrine\MongoDB\Tests\BaseTest
Показать файл Открыть проект

Открытые методы

Метод Описание
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() публичный Метод