File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ Definition
15
15
16
16
.. phpclass:: MongoDB\\GridFS\\Bucket
17
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>`.
18
+ :manual:`GridFS </core/gridfs>` is a specification for storing and retrieving
19
+ files in MongoDB. GridFS uses two collections to store files. One collection
20
+ stores the file chunks (e.g. ``fs.chunks``), and the other stores file
21
+ metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class
22
+ provides an interface around these collections for working with the files as
23
+ PHP :php:`Streams <stream>`.
24
24
25
25
You can construct a GridFS bucket using the driver's
26
26
:php:`Manager <class.mongodb-driver-manager>` class, or select a bucket from
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Definition
16
16
.. phpmethod:: MongoDB\\Collection::aggregate()
17
17
18
18
Executes an :manual:`aggregation framework pipeline
19
- </core/aggregation-pipeline/ >` operation on the collection.
19
+ </core/aggregation-pipeline>` operation on the collection.
20
20
21
21
.. code-block:: php
22
22
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Definition
25
25
collection in a command, such as when inserting a document into a new
26
26
collection. You may also explicitly create a collection with specific options
27
27
using the :phpmethod:`MongoDB\\Database::createCollection()` method, or using
28
- :manual:`db.createCollection() </reference/method/db.createCollection/ >` in
28
+ :manual:`db.createCollection() </reference/method/db.createCollection>` in
29
29
the :program:`mongo` shell.
30
30
31
31
Explicitly creating collections enables you to create
@@ -96,4 +96,4 @@ See Also
96
96
97
97
- :manual:`create </reference/command/create>` command reference in the MongoDB
98
98
manual
99
- - :manual:`db.createCollection() </reference/method/db.createCollection/ >`
99
+ - :manual:`db.createCollection() </reference/method/db.createCollection>`
Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ The output would then resemble::
206
206
Commands with Custom Read Preference
207
207
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208
208
209
- Some commands, such as :manual:`createUser </reference/command/createUser/ >`,
210
- may only be executed on a :term:`primary` replica set member or a
209
+ Some commands, such as :manual:`createUser </reference/command/createUser>`, may
210
+ only be executed on a :term:`primary` replica set member or a
211
211
:term:`standalone`.
212
212
213
213
The command helper methods in the |php-library|, such as
@@ -287,7 +287,7 @@ Iterate Results from a Cursor
287
287
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288
288
289
289
Some commands, such as :manual:`listCollections
290
- </reference/command/listCollections/ >`, return their results via an iterable
290
+ </reference/command/listCollections>`, return their results via an iterable
291
291
cursor. To view the results, iterate through the cursor.
292
292
293
293
The following example lists the collections in the ``demo`` database by
Original file line number Diff line number Diff line change 10
10
:depth: 1
11
11
:class: singlecol
12
12
13
- :manual:`GridFS </core/gridfs/ >` is a specification for storing and retrieving
13
+ :manual:`GridFS </core/gridfs>` is a specification for storing and retrieving
14
14
files in MongoDB. GridFS uses two collections to store files. One collection
15
15
stores the file chunks (e.g. ``fs.chunks``), and the other stores file metadata
16
16
(e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class provides an
You can’t perform that action at this time.
0 commit comments