PHP Classes

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

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

Contents

Class file image Download
============================================= MongoDB\\GridFS\\Bucket::getFilesCollection() ============================================= .. versionadded:: 1.2 .. default-domain:: mongodb .. contents:: On this page :local: :backlinks: none :depth: 1 :class: singlecol Definition ---------- .. phpmethod:: MongoDB\\GridFS\\Bucket::getFilesCollection() Returns the files collection used by the bucket. .. code-block:: php function getFilesCollection(): MongoDB\Collection Return Values ------------- A :phpclass:`MongoDB\\Collection` object for the files collection. Examples -------- .. code-block:: php <?php $bucket = (new MongoDB\Client)->test->selectGridFSBucket(); $filesCollection = $bucket->getFilesCollection(); var_dump($filesCollection->getCollectionName()); The output would then resemble:: string(8) "fs.files"