- Reference >
- Enumeration Classes >
- MongoDB\Model\IndexInfo::getNamespace()
MongoDB\Model\IndexInfo::getNamespace()
On this page
Definition
-
MongoDB\Model\IndexInfo::getNamespace
Return the index namespace, which is the namespace of the collection containing the index.
Return Values
The index namespace.
Examples
The output would then resemble:
See Also
MongoDB\Collection::createIndex()
MongoDB\Collection::getNamespace()
- listIndexes command reference in the MongoDB manual