PHP Classes

File: vendor/mongodb/mongodb/docs/reference/method/MongoDBModelCollectionInfo-getName.txt

Recommend this page to a friend!
  Classes of LAGGOUNE Walid   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/docs/reference/method/MongoDBModelCollectionInfo-getName.txt   Download  
File: vendor/mongodb/mongodb/docs/reference/method/MongoDBModelCollectionInfo-getName.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: MongoDB Queue PHP Query Execute
Query and execute multiple queries using MongoDB
Author: By
Last change:
Date: 4 years ago
Size: 823 bytes
 

Contents

Class file image Download
========================================= MongoDB\\Model\\CollectionInfo::getName() ========================================= .. default-domain:: mongodb .. contents:: On this page :local: :backlinks: none :depth: 1 :class: singlecol Definition ---------- .. phpmethod:: MongoDB\\Model\\CollectionInfo::getName() Return the collection name. .. code-block:: php function getName(): string Return Values ------------- The collection name. Examples -------- .. code-block:: php <?php $info = new CollectionInfo(['name' => 'foo']); echo $info->getName(); The output would then resemble:: foo See Also -------- - :phpmethod:`MongoDB\\Collection::getCollectionName()` - :manual:`listCollections </reference/command/listCollections>` command reference in the MongoDB manual