- Reference >
- Enumeration Classes >
- MongoDB\Model\IndexInfo::isGeoHaystack()
MongoDB\Model\IndexInfo::isGeoHaystack()
New in version 1.4.
On this page
Definition
-
MongoDB\Model\IndexInfo::isGeoHaystack
Return whether the index is a geoHaystack index.
Return Values
A boolean indicating whether the index is a geoHaystack index.
Examples
The output would then resemble:
pos_geoHaystack_x_1 has bucketSize: 5
See Also
MongoDB\Collection::createIndex()
MongoDB\Collection::listIndexes()
- geoHaystack Indexes reference in the MongoDB manual