PHP Classes

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

Recommend this page to a friend!
  Classes of walid laggoune   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/docs/reference/method/MongoDBModelDatabaseInfo-getName.txt   Download  
File: vendor/mongodb/mongodb/docs/reference/method/MongoDBModelDatabaseInfo-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: 801 bytes
 

Contents

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