- Reference >
- Enumeration Classes >
- MongoDB\Model\CollectionInfo::getName()
MongoDB\Model\CollectionInfo::getName()
On this page
Definition
-
MongoDB\Model\CollectionInfo::getName
Return the collection name.
Return Values
The collection name.
Examples
The output would then resemble:
foo
See Also
MongoDB\Collection::getCollectionName()
- listCollections command reference in the MongoDB manual