Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
40e8a2c3
Commit
40e8a2c3
authored
Nov 16, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing slash from manual links
parent
92617a54
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
MongoDBGridFSBucket.txt
docs/reference/class/MongoDBGridFSBucket.txt
+6
-6
MongoDBCollection-aggregate.txt
docs/reference/method/MongoDBCollection-aggregate.txt
+1
-1
MongoDBDatabase-createCollection.txt
docs/reference/method/MongoDBDatabase-createCollection.txt
+2
-2
commands.txt
docs/tutorial/commands.txt
+3
-3
gridfs.txt
docs/tutorial/gridfs.txt
+1
-1
No files found.
docs/reference/class/MongoDBGridFSBucket.txt
View file @
40e8a2c3
...
...
@@ -15,12 +15,12 @@ Definition
.. phpclass:: MongoDB\\GridFS\\Bucket
:manual:`GridFS </core/gridfs
/>` is a specification for storing and
retrieving files in MongoDB. GridFS uses two collections to store files. One
collection stores the file chunks (e.g. ``fs.chunks``), and the other stores
file metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket`
class provides an interface around these collections for working with the
files as
PHP :php:`Streams <stream>`.
:manual:`GridFS </core/gridfs
>` is a specification for storing and retrieving
files in MongoDB. GridFS uses two collections to store files. One collection
stores the file chunks (e.g. ``fs.chunks``), and the other stores file
metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class
provides an interface around these collections for working with the files as
PHP :php:`Streams <stream>`.
You can construct a GridFS bucket using the driver's
:php:`Manager <class.mongodb-driver-manager>` class, or select a bucket from
...
...
docs/reference/method/MongoDBCollection-aggregate.txt
View file @
40e8a2c3
...
...
@@ -16,7 +16,7 @@ Definition
.. phpmethod:: MongoDB\\Collection::aggregate()
Executes an :manual:`aggregation framework pipeline
</core/aggregation-pipeline
/
>` operation on the collection.
</core/aggregation-pipeline>` operation on the collection.
.. code-block:: php
...
...
docs/reference/method/MongoDBDatabase-createCollection.txt
View file @
40e8a2c3
...
...
@@ -25,7 +25,7 @@ Definition
collection in a command, such as when inserting a document into a new
collection. You may also explicitly create a collection with specific options
using the :phpmethod:`MongoDB\\Database::createCollection()` method, or using
:manual:`db.createCollection() </reference/method/db.createCollection
/
>` in
:manual:`db.createCollection() </reference/method/db.createCollection>` in
the :program:`mongo` shell.
Explicitly creating collections enables you to create
...
...
@@ -96,4 +96,4 @@ See Also
- :manual:`create </reference/command/create>` command reference in the MongoDB
manual
- :manual:`db.createCollection() </reference/method/db.createCollection
/
>`
- :manual:`db.createCollection() </reference/method/db.createCollection>`
docs/tutorial/commands.txt
View file @
40e8a2c3
...
...
@@ -206,8 +206,8 @@ The output would then resemble::
Commands with Custom Read Preference
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some commands, such as :manual:`createUser </reference/command/createUser
/>`,
may
only be executed on a :term:`primary` replica set member or a
Some commands, such as :manual:`createUser </reference/command/createUser
>`, may
only be executed on a :term:`primary` replica set member or a
:term:`standalone`.
The command helper methods in the |php-library|, such as
...
...
@@ -287,7 +287,7 @@ Iterate Results from a Cursor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some commands, such as :manual:`listCollections
</reference/command/listCollections
/
>`, return their results via an iterable
</reference/command/listCollections>`, return their results via an iterable
cursor. To view the results, iterate through the cursor.
The following example lists the collections in the ``demo`` database by
...
...
docs/tutorial/gridfs.txt
View file @
40e8a2c3
...
...
@@ -10,7 +10,7 @@ GridFS
:depth: 1
:class: singlecol
:manual:`GridFS </core/gridfs
/
>` is a specification for storing and retrieving
:manual:`GridFS </core/gridfs>` is a specification for storing and retrieving
files in MongoDB. GridFS uses two collections to store files. One collection
stores the file chunks (e.g. ``fs.chunks``), and the other stores file metadata
(e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class provides an
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment