Skip to content

Commit 7cbcec4

Browse files
committed
Remove Query::TYPE_GEO_LOCATION constant
ODM removed support for geoNear commands in its query builder. Applications should use the $geoNear aggregation pipeline operator instead.
1 parent 250c930 commit 7cbcec4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Doctrine/ODM/MongoDB/Query/Query.php

-5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ class Query implements IteratorAggregate
5050
public const TYPE_DISTINCT = 9;
5151
public const TYPE_COUNT = 11;
5252

53-
/**
54-
* @deprecated 1.1 Will be removed for 2.0
55-
*/
56-
public const TYPE_GEO_LOCATION = 10;
57-
5853
public const HINT_REFRESH = 1;
5954
// 2 was used for HINT_SLAVE_OKAY, which was removed in 2.0
6055
public const HINT_READ_PREFERENCE = 3;

0 commit comments

Comments
 (0)