|
| 1 | +============================== |
| 2 | +MongoDB\\BulkWriteResult Class |
| 3 | +============================== |
| 4 | + |
| 5 | +.. default-domain:: mongodb |
| 6 | + |
| 7 | +.. contents:: On this page |
| 8 | + :local: |
| 9 | + :backlinks: none |
| 10 | + :depth: 1 |
| 11 | + :class: singlecol |
| 12 | + |
| 13 | +Definition |
| 14 | +---------- |
| 15 | + |
| 16 | +.. phpclass:: MongoDB\\BulkWriteResult |
| 17 | + |
| 18 | + :manual:`GridFS </core/gridfs/>` is a specification for storing and |
| 19 | + retrieving files in MongoDB. GridFS uses two collections to store files. One |
| 20 | + collection stores the file chunks (e.g. ``fs.chunks``), and the other stores |
| 21 | + file metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` |
| 22 | + class provides an interface around these collections for working with the |
| 23 | + files as PHP :php:`Streams <stream>`. |
| 24 | + |
| 25 | + You can construct a GridFS bucket using the driver's |
| 26 | + :php:`Manager <class.mongodb-driver-manager>` class, or select a bucket from |
| 27 | + the library's :phpclass:`MongoDB\\Database` class via the |
| 28 | + :phpmethod:`selectGridFSBucket() <MongoDB\\Database::selectGridFSBucket>` |
| 29 | + method. |
| 30 | + |
| 31 | +Methods |
| 32 | +------- |
| 33 | + |
| 34 | +.. toctree:: |
| 35 | + :titlesonly: |
| 36 | + |
| 37 | + /reference/method/MongoDBGridFSBucket__construct |
| 38 | + /reference/method/MongoDBGridFSBucket-delete |
| 39 | + /reference/method/MongoDBGridFSBucket-downloadToStream |
| 40 | + /reference/method/MongoDBGridFSBucket-downloadToStreamByName |
| 41 | + /reference/method/MongoDBGridFSBucket-drop |
| 42 | + /reference/method/MongoDBGridFSBucket-find |
| 43 | + /reference/method/MongoDBGridFSBucket-getBucketName |
| 44 | + /reference/method/MongoDBGridFSBucket-getDatabaseName |
| 45 | + /reference/method/MongoDBGridFSBucket-getFileDocumentForStream |
| 46 | + /reference/method/MongoDBGridFSBucket-getFileIdForStream |
| 47 | + /reference/method/MongoDBGridFSBucket-openDownloadStream |
| 48 | + /reference/method/MongoDBGridFSBucket-openDownloadStreamByName |
| 49 | + /reference/method/MongoDBGridFSBucket-openUploadStream |
| 50 | + /reference/method/MongoDBGridFSBucket-rename |
| 51 | + /reference/method/MongoDBGridFSBucket-uploadFromStream |
0 commit comments