- Reference >
- Operators >
- Query and Projection Operators >
- Geospatial Query Operators >
- $uniqueDocs
$uniqueDocs¶
On this page
Definition¶
-
$uniqueDocs
¶ Deprecated since version 2.6: Geospatial queries no longer return duplicate results. The
$uniqueDocs
operator has no impact on results.Returns a document only once for a geospatial query even if the document matches the query multiple times.