Skip to content

Commit

Permalink
Remove Query::TYPE_GEO_LOCATION constant
Browse files Browse the repository at this point in the history
ODM removed support for geoNear commands in its query builder. Applications should use the $geoNear aggregation pipeline operator instead.
  • Loading branch information
jmikola authored and alcaeus committed Apr 11, 2019
1 parent 05bf51a commit 6211009
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Doctrine/ODM/MongoDB/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ class Query implements IteratorAggregate
public const TYPE_DISTINCT = 9;
public const TYPE_COUNT = 11;

/**
* @deprecated 1.1 Will be removed for 2.0
*/
public const TYPE_GEO_LOCATION = 10;

public const HINT_REFRESH = 1;
// 2 was used for HINT_SLAVE_OKAY, which was removed in 2.0
public const HINT_READ_PREFERENCE = 3;
Expand Down

0 comments on commit 6211009

Please sign in to comment.