PHP Classes

File: vendor/mongodb/mongodb/docs/reference/method/MongoDBGridFSBucket-getDatabaseName.txt

Recommend this page to a friend!
  Classes of LAGGOUNE Walid   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/docs/reference/method/MongoDBGridFSBucket-getDatabaseName.txt   Download  
File: vendor/mongodb/mongodb/docs/reference/method/MongoDBGridFSBucket-getDatabaseName.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: 763 bytes
 

Contents

Class file image Download
========================================== MongoDB\\GridFS\\Bucket::getDatabaseName() ========================================== .. default-domain:: mongodb .. contents:: On this page :local: :backlinks: none :depth: 1 :class: singlecol Definition ---------- .. phpmethod:: MongoDB\\GridFS\\Bucket::getDatabaseName() Returns the name of the database containing this bucket. .. code-block:: php function getDatabaseName(): string Return Values ------------- The name of the database containing this bucket as a string. Examples -------- .. code-block:: php <?php $bucket = (new MongoDB\Client)->test->selectGridFSBucket(); var_dump($bucket->getDatabaseName()); The output would then resemble:: string(4) "test"